Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.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.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation") [/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.6978/0.6978, allocations: 117.9 MB / 133.9 MB, free: 9.195 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.001025/0.001026, allocations: 180.5 kB / 161.7 MB, free: 13.97 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.813/1.813, allocations: 205.4 MB / 394.8 MB, free: 10.07 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.0008439/0.000844, allocations: 94.78 kB / 470.1 MB, free: 29.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 12 kB / 0.5423 GB, free: 9.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1798, allocations: 74.54 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.755/5.935, allocations: 2.132 GB / 2.747 GB, free: 170.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/5.936, allocations: 77.27 kB / 2.747 GB, free: 170.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7808/6.716, allocations: 242.4 MB / 2.984 GB, free: 140 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.549e-06/6.717, allocations: 3.562 kB / 2.984 GB, free: 140 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.677e-05/6.717, allocations: 12.09 kB / 2.984 GB, free: 140 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002006/6.719, allocations: 0.7105 MB / 2.984 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/6.719, allocations: 8.656 kB / 2.984 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005264/6.719, allocations: 60.31 kB / 2.984 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/6.72, allocations: 345.5 kB / 2.985 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/6.72, allocations: 28.12 kB / 2.985 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.16e-05/6.72, allocations: 36.75 kB / 2.985 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008871/6.721, allocations: 398.8 kB / 2.985 GB, free: 139 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/6.721, allocations: 1.375 kB / 2.985 GB, free: 139 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/6.721, allocations: 19.3 kB / 2.985 GB, free: 139 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/6.721, allocations: 9.625 kB / 2.985 GB, free: 139 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/6.722, allocations: 341.7 kB / 2.985 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/6.725, allocations: 1.57 MB / 2.987 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/6.725, allocations: 285.4 kB / 2.987 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/6.726, allocations: 155.4 kB / 2.987 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.715e-05/6.726, allocations: 17.41 kB / 2.987 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/6.726, allocations: 49.97 kB / 2.988 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/6.726, allocations: 0 / 2.988 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.003514/6.729, allocations: 1.42 MB / 2.989 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/6.729, allocations: 59.75 kB / 2.989 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/6.73, allocations: 315.5 kB / 2.989 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/6.73, allocations: 33.73 kB / 2.989 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/6.73, allocations: 195 kB / 2.989 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/6.73, allocations: 132.6 kB / 2.99 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/6.73, allocations: 9.219 kB / 2.99 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001009/6.73, allocations: 351 kB / 2.99 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/6.73, allocations: 144.8 kB / 2.99 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/6.731, allocations: 191.5 kB / 2.99 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/6.731, allocations: 356.9 kB / 2.991 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/6.731, allocations: 1.469 kB / 2.991 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009227/6.732, allocations: 466 kB / 2.991 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/6.732, allocations: 5.188 kB / 2.991 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/6.732, allocations: 1.375 kB / 2.991 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/6.732, allocations: 41.14 kB / 2.991 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/6.733, allocations: 90.75 kB / 2.991 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/6.735, allocations: 2.624 MB / 2.994 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/6.735, allocations: 42.34 kB / 2.994 GB, free: 132.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/6.735, allocations: 11.16 kB / 2.994 GB, free: 132.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000285/6.736, allocations: 180.6 kB / 2.994 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/6.736, allocations: 38.31 kB / 2.994 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.705e-05/6.736, allocations: 51.59 kB / 2.994 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/6.736, allocations: 3.875 kB / 2.994 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/6.736, allocations: 3.938 kB / 2.994 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000631/6.737, allocations: 0.5766 MB / 2.995 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/6.738, allocations: 1.045 MB / 2.996 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/6.738, allocations: 2.562 kB / 2.996 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/6.739, allocations: 91.44 kB / 2.996 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/6.739, allocations: 3.062 kB / 2.996 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/6.739, allocations: 9.344 kB / 2.996 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/6.739, allocations: 7.797 kB / 2.996 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/6.739, allocations: 6.125 kB / 2.996 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/6.74, allocations: 0.6762 MB / 2.996 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/6.74, allocations: 163.8 kB / 2.997 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/6.74, allocations: 12.59 kB / 2.997 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/6.741, allocations: 31 kB / 2.997 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/6.741, allocations: 34.17 kB / 2.997 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/6.741, allocations: 23.89 kB / 2.997 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002637/6.741, allocations: 223.1 kB / 2.997 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/6.741, allocations: 1.656 kB / 2.997 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001018/6.742, allocations: 218.6 kB / 2.997 GB, free: 130.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,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 (39): * Single equations (assignments): 39 * 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.001946/6.744, allocations: 1.036 MB / 2.998 GB, free: 130.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000974/6.745, allocations: 0.5567 MB / 2.999 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/6.745, allocations: 4.25 kB / 2.999 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/6.745, allocations: 178.7 kB / 2.999 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/6.747, allocations: 243.6 kB / 2.999 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/6.749, allocations: 1.221 MB / 3 GB, free: 128.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/6.75, allocations: 0.8206 MB / 3.001 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000635/6.75, allocations: 100.1 kB / 3.001 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/6.751, allocations: 38.75 kB / 3.001 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/6.751, allocations: 0 / 3.001 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.03134/6.782, allocations: 21.93 MB / 3.023 GB, free: 126.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTestImplementation.pipe 2>&1)