Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7098/0.7098, allocations: 127.3 MB / 139.8 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 179.9 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.1 MB / 404.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009288/0.000929, allocations: 86.45 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.081e-05/4.084e-05, allocations: 4 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1807, allocations: 76.76 MB / 0.6282 GB, free: 10 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.54/12.72, allocations: 4.57 GB / 5.198 GB, free: 190.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/12.72, allocations: 84.44 kB / 5.198 GB, free: 190.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9192/13.64, allocations: 254.6 MB / 5.447 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.824e-06/13.64, allocations: 1 kB / 5.447 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.561e-05/13.64, allocations: 11.72 kB / 5.447 GB, free: 159.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001477/13.64, allocations: 0.7497 MB / 5.448 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/13.64, allocations: 9.375 kB / 5.448 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/13.64, allocations: 64.12 kB / 5.448 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/13.64, allocations: 330.4 kB / 5.448 GB, free: 159 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/13.64, allocations: 25.41 kB / 5.448 GB, free: 159 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/13.64, allocations: 36.03 kB / 5.448 GB, free: 159 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/13.64, allocations: 393.2 kB / 5.449 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/13.64, allocations: 0 / 5.449 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/13.64, allocations: 19.84 kB / 5.449 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/13.64, allocations: 8.562 kB / 5.449 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/13.65, allocations: 377.8 kB / 5.449 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/13.65, allocations: 1.574 MB / 5.45 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/13.65, allocations: 275.6 kB / 5.451 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/13.65, allocations: 157.6 kB / 5.451 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/13.65, allocations: 4.344 kB / 5.451 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/13.65, allocations: 41.3 kB / 5.451 GB, free: 158 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/13.65, allocations: 0 / 5.451 GB, free: 158 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.00351/13.65, allocations: 1.433 MB / 5.452 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/13.65, allocations: 56.44 kB / 5.452 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/13.65, allocations: 283.1 kB / 5.453 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/13.65, allocations: 36.64 kB / 5.453 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/13.65, allocations: 194.4 kB / 5.453 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/13.65, allocations: 142 kB / 5.453 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/13.65, allocations: 5.875 kB / 5.453 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/13.65, allocations: 350.4 kB / 5.453 GB, free: 157 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/13.65, allocations: 157.4 kB / 5.454 GB, free: 157 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/13.65, allocations: 208.6 kB / 5.454 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/13.65, allocations: 193.5 kB / 5.454 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/13.65, allocations: 0 / 5.454 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008099/13.65, allocations: 0.5478 MB / 5.454 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/13.65, allocations: 3.625 kB / 5.454 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/13.65, allocations: 6.422 kB / 5.454 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/13.65, allocations: 87.86 kB / 5.455 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/13.65, allocations: 118.5 kB / 5.455 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/13.66, allocations: 4.173 MB / 5.459 GB, free: 153 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/13.66, allocations: 38.48 kB / 5.459 GB, free: 153 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/13.66, allocations: 10.38 kB / 5.459 GB, free: 153 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001273/13.66, allocations: 133.2 kB / 5.459 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/13.66, allocations: 35.72 kB / 5.459 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/13.66, allocations: 55.45 kB / 5.459 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/13.66, allocations: 3.688 kB / 5.459 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/13.66, allocations: 0 / 5.459 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007267/13.66, allocations: 0.6486 MB / 5.46 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/13.66, allocations: 1.134 MB / 5.461 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/13.66, allocations: 8.219 kB / 5.461 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/13.66, allocations: 112.5 kB / 5.461 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/13.66, allocations: 60.59 kB / 5.461 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/13.66, allocations: 15.78 kB / 5.461 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/13.66, allocations: 1.564 MB / 5.462 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/13.66, allocations: 2.562 kB / 5.462 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/13.66, allocations: 0.8248 MB / 5.463 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/13.66, allocations: 168.1 kB / 5.463 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/13.66, allocations: 14.64 kB / 5.463 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/13.66, allocations: 32.59 kB / 5.463 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/13.66, allocations: 27.64 kB / 5.463 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/13.66, allocations: 21.14 kB / 5.463 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002151/13.66, allocations: 231.3 kB / 5.464 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/13.66, allocations: 0 / 5.464 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009856/13.67, allocations: 223.2 kB / 5.464 GB, free: 150.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/13.67, allocations: 1.019 MB / 5.465 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009734/13.67, allocations: 0.741 MB / 5.466 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/13.67, allocations: 0 / 5.466 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000403/13.67, allocations: 319 kB / 5.466 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/13.67, allocations: 242.9 kB / 5.466 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/13.67, allocations: 0.881 MB / 5.467 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/13.67, allocations: 0.833 MB / 5.468 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004022/13.67, allocations: 93.25 kB / 5.468 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/13.67, allocations: 40.38 kB / 5.468 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/13.67, allocations: 0 / 5.468 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.03093/13.7, allocations: 25.04 MB / 5.492 GB, free: 147.6 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)