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.001386/0.001386, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.612/1.612, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.6131/0.6131, allocations: 95.49 MB / 365.2 MB, free: 9.871 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.001523/0.001523, allocations: 68.38 kB / 445.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3685, allocations: 69.08 MB / 0.5024 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir): time 0.6286/0.9971, allocations: 144.8 MB / 0.6438 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/1, allocations: 1.736 MB / 0.6455 GB, free: 488 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/1, allocations: 6.656 kB / 0.6455 GB, free: 488 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005996/1.001, allocations: 164.3 kB / 0.6456 GB, free: 488 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006602/1.002, allocations: 311.1 kB / 0.6459 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/1.003, allocations: 322 kB / 0.6462 GB, free: 460 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/1.004, allocations: 0.7989 MB / 0.647 GB, free: 460 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/1.004, allocations: 105 kB / 0.6471 GB, free: 440 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000651/1.005, allocations: 356.4 kB / 0.6474 GB, free: 436 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/1.005, allocations: 254.1 kB / 0.6477 GB, free: 436 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/1.005, allocations: 27.97 kB / 0.6477 GB, free: 436 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/1.006, allocations: 112.5 kB / 0.6478 GB, free: 432 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/1.006, allocations: 87.55 kB / 0.6479 GB, free: 428 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/1.006, allocations: 178.6 kB / 0.6481 GB, free: 428 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007504/1.007, allocations: 449.3 kB / 0.6485 GB, free: 404 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.007, allocations: 0.5 kB / 0.6485 GB, free: 404 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.425e-06/1.007, allocations: 0.5 kB / 0.6485 GB, free: 404 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/1.007, allocations: 3.938 kB / 0.6485 GB, free: 400 kB / 494.1 MB 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.001071/1.008, allocations: 0.5771 MB / 0.6491 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/1.008, allocations: 17.64 kB / 0.6491 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/1.009, allocations: 42.59 kB / 0.6491 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/1.009, allocations: 277.2 kB / 0.6494 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/1.009, allocations: 17.69 kB / 0.6494 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/1.009, allocations: 23.81 kB / 0.6494 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/1.01, allocations: 306.6 kB / 0.6497 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.01, allocations: 0 / 0.6497 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/1.01, allocations: 14.39 kB / 0.6497 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.01, allocations: 7.625 kB / 0.6497 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/1.01, allocations: 180.1 kB / 0.6499 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/1.012, allocations: 1.498 MB / 0.6514 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/1.012, allocations: 186.4 kB / 0.6516 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/1.012, allocations: 85.98 kB / 0.6516 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/1.012, allocations: 176.4 kB / 0.6518 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/1.012, allocations: 35.8 kB / 0.6518 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 2.635e-06/1.013, allocations: 0 / 0.6518 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0006557/1.013, allocations: 322.8 kB / 0.6521 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/1.013, allocations: 53.81 kB / 0.6522 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/1.014, allocations: 255.8 kB / 0.6524 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/1.014, allocations: 30.92 kB / 0.6525 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/1.014, allocations: 181.1 kB / 0.6526 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/1.014, allocations: 78.45 kB / 0.6527 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.014, allocations: 59.22 kB / 0.6528 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.014, allocations: 340.6 kB / 0.6531 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/1.014, allocations: 62.92 kB / 0.6532 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/1.015, allocations: 156.6 kB / 0.6533 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/1.015, allocations: 244.1 kB / 0.6535 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.015, allocations: 2.062 kB / 0.6535 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004775/1.015, allocations: 292.8 kB / 0.6538 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.016, allocations: 5.5 kB / 0.6538 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.016, allocations: 8.406 kB / 0.6538 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/1.016, allocations: 22.91 kB / 0.6539 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/1.016, allocations: 70.39 kB / 0.6539 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/1.018, allocations: 1.392 MB / 0.6553 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/1.018, allocations: 28.62 kB / 0.6553 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/1.018, allocations: 17.23 kB / 0.6553 GB, free: 11.67 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 (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.0001841/1.018, allocations: 156.9 kB / 0.6555 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/1.018, allocations: 28.56 kB / 0.6555 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/1.019, allocations: 204.6 kB / 0.6557 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.019, allocations: 2.906 kB / 0.6557 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/1.019, allocations: 3.938 kB / 0.6557 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004805/1.019, allocations: 488 kB / 0.6562 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/1.02, allocations: 0.5515 MB / 0.6567 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.02, allocations: 3 kB / 0.6567 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/1.02, allocations: 56.83 kB / 0.6568 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.02, allocations: 3.594 kB / 0.6568 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/1.02, allocations: 3.125 kB / 0.6568 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.02, allocations: 2.781 kB / 0.6568 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.02, allocations: 0 / 0.6568 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/1.021, allocations: 363.3 kB / 0.6571 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/1.021, allocations: 99.05 kB / 0.6572 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/1.021, allocations: 2.125 kB / 0.6572 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/1.021, allocations: 5.969 kB / 0.6572 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/1.021, allocations: 18.55 kB / 0.6572 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/1.021, allocations: 10.61 kB / 0.6573 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001683/1.021, allocations: 185.1 kB / 0.6574 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.021, allocations: 0 / 0.6574 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004794/1.022, allocations: 94.47 kB / 0.6575 GB, free: 10.36 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 (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.0003437/1.022, allocations: 142.6 kB / 0.6577 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005268/1.023, allocations: 297.2 kB / 0.6579 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.023, allocations: 4.188 kB / 0.6579 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/1.023, allocations: 77.61 kB / 0.658 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/1.024, allocations: 160.1 kB / 0.6582 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/1.025, allocations: 0.627 MB / 0.6588 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/1.025, allocations: 0.7595 MB / 0.6595 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002336/1.025, allocations: 53.84 kB / 0.6596 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/1.025, allocations: 29.73 kB / 0.6596 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/1.025, allocations: 0 / 0.6596 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of Templates: time 0.01027/1.036, allocations: 5.265 MB / 0.6647 GB, free: 8.66 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.makefile (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)