Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.744/2.744, allocations: 287.3 MB / 302.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 178.9 kB / 370.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.224/2.224, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 86.02 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004793, allocations: 20.77 kB / 0.8656 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 115.3 MB / 0.9782 GB, free: 28.44 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9355/1.144, allocations: 154 MB / 1.129 GB, free: 32 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0132/1.157, allocations: 6.469 MB / 1.135 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/1.159, allocations: 22.41 kB / 1.135 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/1.161, allocations: 421 kB / 1.135 GB, free: 15.49 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006017/1.167, allocations: 1.292 MB / 1.137 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004659/1.172, allocations: 1.037 MB / 1.138 GB, free: 15.37 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002801/1.174, allocations: 1.114 MB / 1.139 GB, free: 15.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/1.176, allocations: 0.5069 MB / 1.139 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/1.178, allocations: 0.6066 MB / 1.14 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008474/1.178, allocations: 388.4 kB / 1.14 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/1.179, allocations: 30.53 kB / 1.14 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/1.182, allocations: 0.8742 MB / 1.141 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004667/1.183, allocations: 232.4 kB / 1.141 GB, free: 14.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003931/1.183, allocations: 175.3 kB / 1.141 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/1.186, allocations: 1.007 MB / 1.142 GB, free: 14.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.186, allocations: 1.375 kB / 1.142 GB, free: 14.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.186, allocations: 0 / 1.142 GB, free: 14.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.329e-05/1.186, allocations: 4 kB / 1.142 GB, free: 14.41 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002558/1.188, allocations: 0.9762 MB / 1.143 GB, free: 13.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.188, allocations: 17.16 kB / 1.143 GB, free: 13.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/1.191, allocations: 273.8 kB / 1.144 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/1.193, allocations: 0.5611 MB / 1.144 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/1.193, allocations: 45.06 kB / 1.144 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/1.193, allocations: 57.81 kB / 1.144 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/1.195, allocations: 0.632 MB / 1.145 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/1.195, allocations: 0.875 kB / 1.145 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/1.195, allocations: 21.22 kB / 1.145 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/1.195, allocations: 23.34 kB / 1.145 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/1.197, allocations: 0.5192 MB / 1.145 GB, free: 12.88 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004907/1.201, allocations: 2.451 MB / 1.148 GB, free: 11.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/1.203, allocations: 395.8 kB / 1.148 GB, free: 11.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006244/1.203, allocations: 144.4 kB / 1.148 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.203, allocations: 43.53 kB / 1.148 GB, free: 10.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.266e-06/1.203, allocations: 1.312 kB / 1.148 GB, free: 10.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0023/1.206, allocations: 0.6173 MB / 1.149 GB, free: 10.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/1.206, allocations: 59.8 kB / 1.149 GB, free: 10.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/1.207, allocations: 0.4902 MB / 1.149 GB, free: 10.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/1.207, allocations: 38.3 kB / 1.15 GB, free: 10.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/1.207, allocations: 325.7 kB / 1.15 GB, free: 10.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/1.207, allocations: 132.2 kB / 1.15 GB, free: 10.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/1.207, allocations: 8.906 kB / 1.15 GB, free: 10.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002276/1.207, allocations: 363.8 kB / 1.15 GB, free: 9.848 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/1.208, allocations: 176.6 kB / 1.15 GB, free: 9.812 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/1.209, allocations: 283 kB / 1.151 GB, free: 9.664 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/1.209, allocations: 221.4 kB / 1.151 GB, free: 9.625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.209, allocations: 5 kB / 1.151 GB, free: 9.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001554/1.211, allocations: 0.5207 MB / 1.151 GB, free: 9.492 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000416/1.211, allocations: 0.8795 MB / 1.152 GB, free: 8.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.211, allocations: 2.406 kB / 1.152 GB, free: 8.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/1.211, allocations: 5.188 kB / 1.152 GB, free: 8.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.213, allocations: 139.8 kB / 1.152 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005374/1.213, allocations: 0.6017 MB / 1.153 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.215, allocations: 80.39 kB / 1.153 GB, free: 7.898 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/1.215, allocations: 18.81 kB / 1.153 GB, free: 7.898 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.215, allocations: 2.969 kB / 1.153 GB, free: 7.898 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00144/1.216, allocations: 464.3 kB / 1.154 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.216, allocations: 2.375 kB / 1.154 GB, free: 7.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.216, allocations: 8.562 kB / 1.154 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009866/1.217, allocations: 131.5 kB / 1.154 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.217, allocations: 5.109 kB / 1.154 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.218, allocations: 73.36 kB / 1.154 GB, free: 7.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/1.219, allocations: 21.33 kB / 1.154 GB, free: 7.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006386/1.219, allocations: 309.2 kB / 1.154 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/1.219, allocations: 60.12 kB / 1.154 GB, free: 7.504 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/1.221, allocations: 0.4908 MB / 1.155 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/1.221, allocations: 3.656 kB / 1.155 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.221, allocations: 1.156 kB / 1.155 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001382/1.222, allocations: 0.715 MB / 1.155 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/1.226, allocations: 1.28 MB / 1.157 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.226, allocations: 1.156 kB / 1.157 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.227, allocations: 141.4 kB / 1.157 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/1.227, allocations: 4.188 kB / 1.157 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/1.227, allocations: 13.17 kB / 1.157 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004841/1.228, allocations: 0.6026 MB / 1.157 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.228, allocations: 3.719 kB / 1.157 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/1.23, allocations: 0.9164 MB / 1.158 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/1.231, allocations: 180.7 kB / 1.158 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.231, allocations: 8.719 kB / 1.158 GB, free: 4.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/1.232, allocations: 52.08 kB / 1.158 GB, free: 4.328 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.232, allocations: 33.98 kB / 1.159 GB, free: 4.309 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/1.232, allocations: 13.69 kB / 1.159 GB, free: 4.305 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006739/1.233, allocations: 342.4 kB / 1.159 GB, free: 4.102 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.465e-06/1.233, allocations: 0 / 1.159 GB, free: 4.102 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001565/1.234, allocations: 368.3 kB / 1.159 GB, free: 4.023 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000622/1.235, allocations: 203.9 kB / 1.159 GB, free: 3.883 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002522/1.237, allocations: 0.6852 MB / 1.16 GB, free: 3.578 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.237, allocations: 1.219 kB / 1.16 GB, free: 3.578 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007665/1.238, allocations: 226.2 kB / 1.16 GB, free: 3.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/1.241, allocations: 358.9 kB / 1.161 GB, free: 3.301 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/1.245, allocations: 1.705 MB / 1.162 GB, free: 2.066 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/1.246, allocations: 0.9649 MB / 1.163 GB, free: 1.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001476/1.248, allocations: 209.2 kB / 1.163 GB, free: 1.137 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/1.248, allocations: 51.19 kB / 1.163 GB, free: 1.125 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.248, allocations: 0 / 1.163 GB, free: 1.125 MB / 0.698 GB Notification: Performance of Templates: time 0.0337/1.282, allocations: 11.53 MB / 1.175 GB, free: 11.41 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)