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.9428/0.9428, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 176.5 kB / 173.8 MB, free: 6.133 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.719/1.719, allocations: 205.4 MB / 409 MB, free: 10.5 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.000853/0.000853, allocations: 90.92 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 9.938 kB / 0.5603 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2004, allocations: 76.76 MB / 0.6353 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.44/12.64, allocations: 4.57 GB / 5.206 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/12.64, allocations: 87.2 kB / 5.206 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8998/13.54, allocations: 255 MB / 5.455 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/13.54, allocations: 2.875 kB / 5.455 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.16e-05/13.54, allocations: 10.66 kB / 5.455 GB, free: 166.5 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.00173/13.54, allocations: 0.7923 MB / 5.455 GB, free: 166 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/13.54, allocations: 10.56 kB / 5.455 GB, free: 166 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/13.54, allocations: 57.58 kB / 5.456 GB, free: 166 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/13.54, allocations: 327.5 kB / 5.456 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/13.54, allocations: 27.5 kB / 5.456 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/13.54, allocations: 40.38 kB / 5.456 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/13.55, allocations: 401.1 kB / 5.456 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/13.55, allocations: 0 / 5.456 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/13.55, allocations: 19.89 kB / 5.456 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/13.55, allocations: 10.75 kB / 5.456 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/13.55, allocations: 383.6 kB / 5.457 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/13.55, allocations: 1.576 MB / 5.458 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/13.55, allocations: 276.9 kB / 5.458 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/13.55, allocations: 7.734 kB / 5.458 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/13.55, allocations: 45.09 kB / 5.459 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 1.272e-06/13.55, allocations: 0 / 5.459 GB, free: 164.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.004185/13.55, allocations: 1.833 MB / 5.46 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/13.55, allocations: 55.19 kB / 5.46 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/13.55, allocations: 295.7 kB / 5.461 GB, free: 164 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/13.55, allocations: 42.33 kB / 5.461 GB, free: 164 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/13.55, allocations: 189.4 kB / 5.461 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/13.55, allocations: 140.8 kB / 5.461 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/13.55, allocations: 10.25 kB / 5.461 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001183/13.55, allocations: 347 kB / 5.461 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/13.55, allocations: 168.5 kB / 5.461 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/13.55, allocations: 213.6 kB / 5.462 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/13.55, allocations: 188.2 kB / 5.462 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/13.55, allocations: 0 / 5.462 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007931/13.56, allocations: 0.5468 MB / 5.462 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/13.56, allocations: 3.969 kB / 5.462 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/13.56, allocations: 3.031 kB / 5.462 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002738/13.56, allocations: 91.3 kB / 5.463 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/13.56, allocations: 122.4 kB / 5.463 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/13.56, allocations: 4.195 MB / 5.467 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/13.56, allocations: 35.5 kB / 5.467 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/13.56, allocations: 14.94 kB / 5.467 GB, free: 159.5 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 () * Number of clocked 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.0002711/13.56, allocations: 179.9 kB / 5.467 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/13.56, allocations: 40.89 kB / 5.467 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/13.56, allocations: 59.55 kB / 5.467 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/13.56, allocations: 3.75 kB / 5.467 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/13.56, allocations: 0 / 5.467 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008076/13.56, allocations: 0.647 MB / 5.468 GB, free: 159 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/13.56, allocations: 1.15 MB / 5.469 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/13.56, allocations: 7.688 kB / 5.469 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/13.56, allocations: 111.2 kB / 5.469 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/13.56, allocations: 64.83 kB / 5.469 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/13.56, allocations: 14.8 kB / 5.469 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/13.56, allocations: 1.568 MB / 5.471 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/13.56, allocations: 0 / 5.471 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/13.57, allocations: 0.8265 MB / 5.471 GB, free: 157 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/13.57, allocations: 165.7 kB / 5.471 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/13.57, allocations: 10.44 kB / 5.471 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/13.57, allocations: 37.66 kB / 5.472 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/13.57, allocations: 32.7 kB / 5.472 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/13.57, allocations: 22 kB / 5.472 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002277/13.57, allocations: 233.3 kB / 5.472 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.3e-07/13.57, allocations: 2.719 kB / 5.472 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001099/13.57, allocations: 220 kB / 5.472 GB, free: 156.8 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 () * 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): 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.001404/13.57, allocations: 1.025 MB / 5.473 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001002/13.57, allocations: 0.7496 MB / 5.474 GB, free: 156.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/13.57, allocations: 0 / 5.474 GB, free: 156.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000441/13.57, allocations: 335.7 kB / 5.474 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/13.57, allocations: 233.4 kB / 5.474 GB, free: 156.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/13.57, allocations: 1.306 MB / 5.476 GB, free: 155.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/13.57, allocations: 0.8309 MB / 5.476 GB, free: 155 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004438/13.57, allocations: 97.53 kB / 5.476 GB, free: 155 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/13.57, allocations: 40.27 kB / 5.477 GB, free: 155 MB / 0.6511 GB Notification: Performance of SimCode: time 3e-07/13.58, allocations: 0 / 5.477 GB, free: 155 MB / 0.6511 GB Notification: Performance of Templates: time 0.033/13.61, allocations: 22.15 MB / 5.498 GB, free: 151.7 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)