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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7376/0.7376, allocations: 117.9 MB / 133.9 MB, free: 9.227 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.0009616/0.0009616, allocations: 183.7 kB / 161.7 MB, free: 13.99 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.69/1.69, allocations: 205.4 MB / 394.8 MB, free: 10.01 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.0008771/0.0008771, allocations: 90.84 kB / 470.1 MB, free: 29.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 12 kB / 0.5423 GB, free: 9.762 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 74.54 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.79/11.96, allocations: 4.569 GB / 5.184 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/11.96, allocations: 91.94 kB / 5.184 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8248/12.78, allocations: 254.7 MB / 5.433 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/12.78, allocations: 4 kB / 5.433 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.318e-05/12.78, allocations: 8 kB / 5.433 GB, free: 13.61 MB / 0.6355 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.002028/12.79, allocations: 0.7912 MB / 5.434 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/12.79, allocations: 8.031 kB / 5.434 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/12.79, allocations: 52.47 kB / 5.434 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/12.79, allocations: 347.6 kB / 5.434 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/12.79, allocations: 25.31 kB / 5.434 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/12.79, allocations: 40.36 kB / 5.434 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/12.79, allocations: 414.7 kB / 5.435 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/12.79, allocations: 0 / 5.435 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/12.79, allocations: 16 kB / 5.435 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/12.79, allocations: 8 kB / 5.435 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/12.79, allocations: 379.8 kB / 5.435 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/12.79, allocations: 1.569 MB / 5.437 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/12.79, allocations: 280.5 kB / 5.437 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/12.79, allocations: 160.8 kB / 5.437 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/12.79, allocations: 11.92 kB / 5.437 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/12.79, allocations: 38.56 kB / 5.437 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/12.79, allocations: 0 / 5.437 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=41): time 0.004029/12.8, allocations: 1.843 MB / 5.439 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/12.8, allocations: 55.41 kB / 5.439 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/12.8, allocations: 318.9 kB / 5.439 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/12.8, allocations: 37.7 kB / 5.439 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/12.8, allocations: 196.4 kB / 5.44 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/12.8, allocations: 145.9 kB / 5.44 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/12.8, allocations: 8 kB / 5.44 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.715e-05/12.8, allocations: 342.8 kB / 5.44 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/12.8, allocations: 168.8 kB / 5.44 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/12.8, allocations: 208.2 kB / 5.44 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/12.8, allocations: 393 kB / 5.441 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/12.8, allocations: 8 kB / 5.441 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007822/12.8, allocations: 0.5333 MB / 5.441 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/12.8, allocations: 11.94 kB / 5.441 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/12.8, allocations: 0 / 5.441 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/12.8, allocations: 94.61 kB / 5.441 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/12.8, allocations: 111.9 kB / 5.442 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/12.8, allocations: 4.175 MB / 5.446 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/12.8, allocations: 35.95 kB / 5.446 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/12.8, allocations: 16 kB / 5.446 GB, free: 4 kB / 0.6355 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.3926/13.2, allocations: 174.9 kB / 5.446 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/13.2, allocations: 42.22 kB / 5.446 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/13.2, allocations: 52.64 kB / 5.446 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/13.2, allocations: 5.438 kB / 5.446 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/13.2, allocations: 2.078 kB / 5.446 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009879/13.2, allocations: 0.6538 MB / 5.447 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/13.2, allocations: 1.132 MB / 5.448 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/13.2, allocations: 6.109 kB / 5.448 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/13.2, allocations: 120.6 kB / 5.448 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/13.2, allocations: 60.61 kB / 5.448 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/13.2, allocations: 14.83 kB / 5.448 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/13.2, allocations: 1.556 MB / 5.449 GB, free: 140.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/13.2, allocations: 2.031 kB / 5.449 GB, free: 140.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/13.2, allocations: 0.776 MB / 5.45 GB, free: 140.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/13.2, allocations: 166.7 kB / 5.45 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/13.2, allocations: 17.7 kB / 5.45 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/13.2, allocations: 32.52 kB / 5.45 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/13.2, allocations: 28.17 kB / 5.45 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/13.2, allocations: 21.98 kB / 5.45 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003358/13.2, allocations: 229.9 kB / 5.451 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.31e-07/13.2, allocations: 0 / 5.451 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001302/13.21, allocations: 219.7 kB / 5.451 GB, free: 140.2 MB / 0.6355 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.001755/13.21, allocations: 1.027 MB / 5.452 GB, free: 140 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001326/13.21, allocations: 0.742 MB / 5.453 GB, free: 139.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/13.21, allocations: 0 / 5.453 GB, free: 139.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005626/13.21, allocations: 330.9 kB / 5.453 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/13.21, allocations: 246.5 kB / 5.453 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/13.21, allocations: 1.322 MB / 5.454 GB, free: 139 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/13.21, allocations: 0.829 MB / 5.455 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005016/13.21, allocations: 101.5 kB / 5.455 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/13.21, allocations: 35.31 kB / 5.455 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/13.21, allocations: 3.75 kB / 5.455 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.03145/13.25, allocations: 22.36 MB / 5.477 GB, free: 138 MB / 0.6355 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)