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.616/2.616, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.001444/0.001443, allocations: 186.9 kB / 371 MB, free: 10.87 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.121/2.121, allocations: 205.4 MB / 0.6297 GB, free: 10.52 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.0009353/0.0009351, allocations: 98.78 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000632/0.0006322, allocations: 17.47 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9364/1.157, allocations: 168.3 MB / 1.143 GB, free: 12.6 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0132/1.17, allocations: 6.476 MB / 1.149 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/1.171, allocations: 25.03 kB / 1.149 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/1.173, allocations: 274.6 kB / 1.149 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004504/1.177, allocations: 1.048 MB / 1.15 GB, free: 9.953 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/1.181, allocations: 0.8411 MB / 1.151 GB, free: 9.727 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004388/1.186, allocations: 2.284 MB / 1.153 GB, free: 9.012 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/1.187, allocations: 0.4942 MB / 1.154 GB, free: 8.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/1.189, allocations: 0.6844 MB / 1.155 GB, free: 8.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/1.191, allocations: 0.5706 MB / 1.155 GB, free: 8.16 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/1.191, allocations: 30.03 kB / 1.155 GB, free: 8.16 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004867/1.196, allocations: 1.128 MB / 1.156 GB, free: 7.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006955/1.197, allocations: 246.7 kB / 1.156 GB, free: 7.414 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004781/1.198, allocations: 179.5 kB / 1.157 GB, free: 7.312 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/1.201, allocations: 1.145 MB / 1.158 GB, free: 6.609 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.201, allocations: 0 / 1.158 GB, free: 6.609 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.317e-06/1.201, allocations: 0 / 1.158 GB, free: 6.609 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.657e-05/1.201, allocations: 1.5 kB / 1.158 GB, free: 6.609 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.002948/1.204, allocations: 1.018 MB / 1.159 GB, free: 5.789 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.204, allocations: 9.469 kB / 1.159 GB, free: 5.789 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/1.207, allocations: 273 kB / 1.159 GB, free: 5.664 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/1.209, allocations: 0.5506 MB / 1.16 GB, free: 5.207 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/1.209, allocations: 44.25 kB / 1.16 GB, free: 5.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/1.209, allocations: 57.69 kB / 1.16 GB, free: 5.168 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/1.211, allocations: 0.6337 MB / 1.16 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/1.211, allocations: 5.203 kB / 1.16 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/1.211, allocations: 20.59 kB / 1.16 GB, free: 4.766 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/1.211, allocations: 23.28 kB / 1.16 GB, free: 4.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/1.213, allocations: 0.5237 MB / 1.161 GB, free: 4.512 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.005457/1.218, allocations: 2.456 MB / 1.163 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.219, allocations: 385.9 kB / 1.164 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/1.22, allocations: 245.2 kB / 1.164 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009267/1.221, allocations: 321.9 kB / 1.164 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/1.221, allocations: 41.28 kB / 1.164 GB, free: 1.676 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.066e-06/1.221, allocations: 0 / 1.164 GB, free: 1.676 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.002355/1.223, allocations: 0.6225 MB / 1.165 GB, free: 1.371 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/1.223, allocations: 59.73 kB / 1.165 GB, free: 1.305 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009241/1.224, allocations: 497.6 kB / 1.165 GB, free: 1.004 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.574e-05/1.224, allocations: 36.8 kB / 1.165 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/1.225, allocations: 321.5 kB / 1.166 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/1.225, allocations: 139.6 kB / 1.166 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/1.225, allocations: 9.406 kB / 1.166 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001979/1.225, allocations: 365.2 kB / 1.166 GB, free: 208 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/1.226, allocations: 167.5 kB / 1.166 GB, free: 124 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/1.227, allocations: 293.1 kB / 1.167 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006621/1.227, allocations: 213.4 kB / 1.167 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.227, allocations: 4 kB / 1.167 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001619/1.229, allocations: 0.5267 MB / 1.167 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/1.229, allocations: 156.6 kB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.229, allocations: 6.328 kB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/1.229, allocations: 5.094 kB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.231, allocations: 144.9 kB / 1.168 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005466/1.231, allocations: 0.5883 MB / 1.168 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.232, allocations: 80.77 kB / 1.168 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/1.232, allocations: 18.09 kB / 1.168 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.233, allocations: 10.06 kB / 1.168 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001394/1.234, allocations: 463.7 kB / 1.169 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.234, allocations: 2.219 kB / 1.169 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/1.234, allocations: 4.969 kB / 1.169 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/1.235, allocations: 133.1 kB / 1.169 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.235, allocations: 8.547 kB / 1.169 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.236, allocations: 71.39 kB / 1.169 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/1.236, allocations: 17.52 kB / 1.169 GB, free: 14.35 MB / 0.7136 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.0006055/1.237, allocations: 305.4 kB / 1.169 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/1.237, allocations: 60.31 kB / 1.169 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/1.238, allocations: 0.4914 MB / 1.17 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.239, allocations: 4.344 kB / 1.17 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/1.239, allocations: 7.891 kB / 1.17 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001292/1.24, allocations: 0.7159 MB / 1.17 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/1.243, allocations: 1.282 MB / 1.172 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.243, allocations: 2.875 kB / 1.172 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.245, allocations: 142.8 kB / 1.172 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/1.245, allocations: 2 kB / 1.172 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/1.245, allocations: 13.92 kB / 1.172 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004298/1.245, allocations: 0.5984 MB / 1.172 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.245, allocations: 1.906 kB / 1.172 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/1.247, allocations: 0.8367 MB / 1.173 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/1.248, allocations: 184.8 kB / 1.173 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/1.248, allocations: 13.94 kB / 1.173 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/1.249, allocations: 51.36 kB / 1.174 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/1.249, allocations: 27.27 kB / 1.174 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/1.249, allocations: 14.61 kB / 1.174 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006051/1.25, allocations: 346.3 kB / 1.174 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.25, allocations: 0 / 1.174 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001467/1.251, allocations: 365.1 kB / 1.174 GB, free: 10.55 MB / 0.7136 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.0006447/1.252, allocations: 205.3 kB / 1.174 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002366/1.254, allocations: 0.6759 MB / 1.175 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.254, allocations: 1 kB / 1.175 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007214/1.255, allocations: 234.1 kB / 1.175 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/1.258, allocations: 352.2 kB / 1.176 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/1.262, allocations: 1.723 MB / 1.177 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/1.263, allocations: 0.9459 MB / 1.178 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001327/1.264, allocations: 207.4 kB / 1.178 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/1.264, allocations: 50.08 kB / 1.179 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.264, allocations: 0 / 1.179 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of Templates: time 0.03305/1.297, allocations: 11.56 MB / 1.19 GB, free: 1.922 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)