Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.0008562, allocations: 97.95 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008379/0.0008382, allocations: 176.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6819/0.6819, allocations: 95.62 MB / 366.4 MB, free: 10.23 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006145/0.0006145, allocations: 19.98 kB / 447.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4273, allocations: 70.34 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir): time 0.6112/1.038, allocations: 140.7 MB / 0.6431 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/1.041, allocations: 1.7 MB / 0.6447 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/1.041, allocations: 6.156 kB / 0.6448 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005662/1.042, allocations: 143.8 kB / 0.6449 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006547/1.042, allocations: 305 kB / 0.6452 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008278/1.043, allocations: 298.9 kB / 0.6455 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/1.045, allocations: 1.247 MB / 0.6467 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/1.045, allocations: 83 kB / 0.6468 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/1.046, allocations: 298.9 kB / 0.647 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/1.046, allocations: 267.2 kB / 0.6473 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/1.046, allocations: 15.33 kB / 0.6473 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/1.046, allocations: 115.6 kB / 0.6474 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/1.046, allocations: 80.22 kB / 0.6475 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/1.047, allocations: 181 kB / 0.6477 GB, free: 16.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004135/1.047, allocations: 439.8 kB / 0.6481 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.047, allocations: 2.094 kB / 0.6481 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/1.047, allocations: 3.938 kB / 0.6481 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.191e-06/1.047, allocations: 0 / 0.6481 GB, free: 16.64 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007241/1.048, allocations: 0.5197 MB / 0.6486 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.048, allocations: 13.33 kB / 0.6486 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/1.048, allocations: 38.27 kB / 0.6487 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/1.049, allocations: 281 kB / 0.6489 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/1.049, allocations: 17.81 kB / 0.6489 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/1.049, allocations: 25.88 kB / 0.649 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/1.049, allocations: 320.2 kB / 0.6493 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/1.049, allocations: 2.656 kB / 0.6493 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/1.049, allocations: 9.094 kB / 0.6493 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/1.049, allocations: 6.312 kB / 0.6493 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/1.05, allocations: 193.3 kB / 0.6495 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/1.052, allocations: 1.726 MB / 0.6512 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/1.052, allocations: 157.5 kB / 0.6513 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/1.052, allocations: 69.02 kB / 0.6514 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/1.052, allocations: 168.8 kB / 0.6515 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.052, allocations: 40.2 kB / 0.6516 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.635e-06/1.052, allocations: 0 / 0.6516 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.000583/1.053, allocations: 286.1 kB / 0.6518 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.053, allocations: 54.75 kB / 0.6519 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/1.053, allocations: 271.3 kB / 0.6522 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/1.053, allocations: 34.16 kB / 0.6522 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/1.053, allocations: 195 kB / 0.6524 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/1.054, allocations: 58.84 kB / 0.6524 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/1.054, allocations: 34.89 kB / 0.6525 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.054, allocations: 341.9 kB / 0.6528 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/1.054, allocations: 56.38 kB / 0.6528 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/1.054, allocations: 179.9 kB / 0.653 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/1.054, allocations: 250 kB / 0.6533 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/1.054, allocations: 1.281 kB / 0.6533 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004842/1.055, allocations: 300.7 kB / 0.6535 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/1.055, allocations: 9.156 kB / 0.6536 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.055, allocations: 7.469 kB / 0.6536 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/1.055, allocations: 23.95 kB / 0.6536 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/1.055, allocations: 69.45 kB / 0.6536 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/1.056, allocations: 1.289 MB / 0.6549 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/1.057, allocations: 48.03 kB / 0.655 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.057, allocations: 15.53 kB / 0.655 GB, free: 11.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001665/1.057, allocations: 154.7 kB / 0.6551 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/1.057, allocations: 24.44 kB / 0.6551 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/1.057, allocations: 182.5 kB / 0.6553 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.057, allocations: 1.75 kB / 0.6553 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.057, allocations: 7.5 kB / 0.6553 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00038/1.058, allocations: 465.3 kB / 0.6558 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009394/1.059, allocations: 0.6934 MB / 0.6564 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.059, allocations: 1.781 kB / 0.6564 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/1.059, allocations: 41.56 kB / 0.6565 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/1.059, allocations: 10.41 kB / 0.6565 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/1.059, allocations: 2.906 kB / 0.6565 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.059, allocations: 2.5 kB / 0.6565 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.059, allocations: 2.938 kB / 0.6565 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/1.059, allocations: 359.4 kB / 0.6568 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/1.06, allocations: 112.6 kB / 0.657 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/1.06, allocations: 5.375 kB / 0.657 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/1.06, allocations: 14.64 kB / 0.657 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/1.06, allocations: 16.89 kB / 0.657 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/1.06, allocations: 9.75 kB / 0.657 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001935/1.06, allocations: 199.5 kB / 0.6572 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.52e-07/1.06, allocations: 0 / 0.6572 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004319/1.06, allocations: 95.59 kB / 0.6573 GB, free: 10.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (volume.U) * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002774/1.061, allocations: 138.7 kB / 0.6574 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004538/1.061, allocations: 274.5 kB / 0.6577 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.061, allocations: 2.75 kB / 0.6577 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/1.061, allocations: 63.03 kB / 0.6577 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009951/1.062, allocations: 149.9 kB / 0.6579 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/1.063, allocations: 0.7206 MB / 0.6586 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/1.064, allocations: 0.7536 MB / 0.6593 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002259/1.064, allocations: 48.27 kB / 0.6594 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/1.064, allocations: 31.86 kB / 0.6594 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/1.064, allocations: 3.938 kB / 0.6594 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.008681/1.073, allocations: 4.885 MB / 0.6642 GB, free: 8.508 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe 2>&1) Environment - environmentSimulation: