Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009291/0.0009296, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.7231/0.7231, allocations: 95.62 MB / 366 MB, free: 10.35 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.0005923/0.0005927, allocations: 12.22 kB / 446.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4491, allocations: 70.34 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir): time 0.6582/1.107, allocations: 131.2 MB / 0.6332 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/1.11, allocations: 1.623 MB / 0.6348 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/1.111, allocations: 8.25 kB / 0.6348 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006944/1.111, allocations: 131.1 kB / 0.6349 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009489/1.112, allocations: 289.8 kB / 0.6352 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/1.114, allocations: 255.7 kB / 0.6354 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/1.116, allocations: 1.029 MB / 0.6364 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/1.116, allocations: 64.75 kB / 0.6365 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/1.117, allocations: 310.2 kB / 0.6368 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/1.117, allocations: 254.8 kB / 0.637 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/1.117, allocations: 15.72 kB / 0.637 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/1.118, allocations: 46.23 kB / 0.6371 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/1.118, allocations: 71.38 kB / 0.6372 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/1.118, allocations: 88.36 kB / 0.6372 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005832/1.119, allocations: 352.6 kB / 0.6376 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.119, allocations: 0 / 0.6376 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.394e-06/1.119, allocations: 0.9688 kB / 0.6376 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.119, allocations: 0 / 0.6376 GB, free: 18.08 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.0008459/1.12, allocations: 0.5139 MB / 0.6381 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.12, allocations: 14.7 kB / 0.6381 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/1.12, allocations: 39 kB / 0.6381 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/1.12, allocations: 279.2 kB / 0.6384 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/1.12, allocations: 19.19 kB / 0.6384 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/1.12, allocations: 25.14 kB / 0.6384 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/1.121, allocations: 294.2 kB / 0.6387 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.121, allocations: 4.188 kB / 0.6387 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/1.121, allocations: 15.41 kB / 0.6387 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/1.121, allocations: 5.281 kB / 0.6387 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/1.122, allocations: 181.4 kB / 0.6389 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/1.124, allocations: 1.505 MB / 0.6404 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/1.124, allocations: 177.7 kB / 0.6406 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/1.124, allocations: 85.23 kB / 0.6406 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/1.124, allocations: 168.7 kB / 0.6408 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.124, allocations: 35.34 kB / 0.6408 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/1.124, allocations: 6.797 kB / 0.6408 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0006773/1.125, allocations: 318.6 kB / 0.6411 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/1.125, allocations: 57.94 kB / 0.6412 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/1.125, allocations: 254.3 kB / 0.6414 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/1.125, allocations: 31.58 kB / 0.6415 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/1.126, allocations: 176.6 kB / 0.6416 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/1.126, allocations: 79.2 kB / 0.6417 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/1.126, allocations: 4.531 kB / 0.6417 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002432/1.126, allocations: 340.9 kB / 0.642 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/1.126, allocations: 63.25 kB / 0.6421 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/1.126, allocations: 153.3 kB / 0.6422 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/1.126, allocations: 91.64 kB / 0.6423 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.126, allocations: 0.75 kB / 0.6423 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000515/1.127, allocations: 293.3 kB / 0.6426 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.127, allocations: 7.094 kB / 0.6426 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.127, allocations: 2.938 kB / 0.6426 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/1.127, allocations: 27.39 kB / 0.6426 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/1.127, allocations: 68.38 kB / 0.6427 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/1.129, allocations: 1.292 MB / 0.644 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/1.129, allocations: 37.95 kB / 0.644 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/1.129, allocations: 15.41 kB / 0.644 GB, free: 13.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002357/1.129, allocations: 155.9 kB / 0.6442 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/1.129, allocations: 27.77 kB / 0.6442 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/1.13, allocations: 208.1 kB / 0.6444 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.13, allocations: 5.516 kB / 0.6444 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/1.13, allocations: 0.9062 kB / 0.6444 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004666/1.13, allocations: 483.6 kB / 0.6449 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007209/1.131, allocations: 0.5451 MB / 0.6454 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.131, allocations: 0 / 0.6454 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/1.131, allocations: 55.02 kB / 0.6455 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.131, allocations: 2.5 kB / 0.6455 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/1.131, allocations: 7.75 kB / 0.6455 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.131, allocations: 4.656 kB / 0.6455 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.131, allocations: 0 / 0.6455 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/1.132, allocations: 352.3 kB / 0.6458 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/1.132, allocations: 110.3 kB / 0.6459 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/1.132, allocations: 4.094 kB / 0.6459 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/1.132, allocations: 14.06 kB / 0.6459 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/1.132, allocations: 17.72 kB / 0.6459 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/1.132, allocations: 9.984 kB / 0.646 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002223/1.132, allocations: 183.8 kB / 0.6461 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.132, allocations: 0.875 kB / 0.6461 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004742/1.133, allocations: 98.38 kB / 0.6462 GB, free: 12.28 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.U,volume.m) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000221/1.133, allocations: 131.9 kB / 0.6463 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005345/1.134, allocations: 292.4 kB / 0.6466 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.134, allocations: 0.8125 kB / 0.6466 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/1.134, allocations: 72.91 kB / 0.6467 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/1.135, allocations: 167.6 kB / 0.6469 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.136, allocations: 0.7446 MB / 0.6476 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/1.136, allocations: 0.7559 MB / 0.6483 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002781/1.137, allocations: 49.92 kB / 0.6484 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/1.137, allocations: 26.56 kB / 0.6484 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/1.137, allocations: 0 / 0.6484 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.01043/1.147, allocations: 4.837 MB / 0.6531 GB, free: 10.55 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe 2>&1) Environment - environmentSimulation: