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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7044/0.7044, allocations: 128.7 MB / 144.5 MB, free: 1.402 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.001109/0.001109, allocations: 188.3 kB / 174.2 MB, free: 5.938 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.386/1.386, allocations: 205 MB / 408.9 MB, free: 9.707 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.0009666/0.0009666, allocations: 105.5 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 57.88 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.123, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTestImplementation): time 0.4287/0.5517, allocations: 163.1 MB / 0.7909 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.5547, allocations: 2.568 MB / 0.7934 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.555, allocations: 8 kB / 0.7934 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.5556, allocations: 220.8 kB / 0.7937 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008627/0.5566, allocations: 429.7 kB / 0.7941 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.5573, allocations: 312.1 kB / 0.7944 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.5588, allocations: 1.614 MB / 0.7959 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.559, allocations: 119.4 kB / 0.7961 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.5603, allocations: 0.6222 MB / 0.7967 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.5608, allocations: 393.3 kB / 0.797 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.113e-05/0.5609, allocations: 26 kB / 0.7971 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.5611, allocations: 31.27 kB / 0.7971 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.5613, allocations: 195.7 kB / 0.7973 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.5616, allocations: 256.4 kB / 0.7975 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.5622, allocations: 0.6591 MB / 0.7982 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5622, allocations: 0 / 0.7982 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5622, allocations: 4.969 kB / 0.7982 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.5622, allocations: 0 / 0.7982 GB, free: 12.07 MB / 0.5261 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.001181/0.5634, allocations: 0.7245 MB / 0.7989 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.5634, allocations: 9.344 kB / 0.7989 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.5637, allocations: 59.11 kB / 0.7989 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.5642, allocations: 336.9 kB / 0.7993 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.5642, allocations: 27.06 kB / 0.7993 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.5643, allocations: 37.78 kB / 0.7993 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.5649, allocations: 398.1 kB / 0.7997 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.5649, allocations: 9.391 kB / 0.7997 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.565, allocations: 17.44 kB / 0.7997 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.565, allocations: 12.94 kB / 0.7997 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.5655, allocations: 345.5 kB / 0.8001 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.5676, allocations: 1.559 MB / 0.8016 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.568, allocations: 291 kB / 0.8019 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.5682, allocations: 159.7 kB / 0.802 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.5683, allocations: 15.69 kB / 0.802 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.5683, allocations: 45.44 kB / 0.8021 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.5683, allocations: 0 / 0.8021 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002835/0.5712, allocations: 1.422 MB / 0.8035 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.5712, allocations: 59.34 kB / 0.8035 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.5716, allocations: 311.5 kB / 0.8038 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.5717, allocations: 39.64 kB / 0.8039 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.5718, allocations: 201.7 kB / 0.8041 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.5719, allocations: 138.3 kB / 0.8042 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.5721, allocations: 72.23 kB / 0.8043 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5722, allocations: 348 kB / 0.8046 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.5725, allocations: 149 kB / 0.8047 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.5727, allocations: 194.3 kB / 0.8049 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.5733, allocations: 348.3 kB / 0.8053 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5733, allocations: 4.562 kB / 0.8053 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006629/0.5739, allocations: 465.5 kB / 0.8057 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.574, allocations: 7.688 kB / 0.8057 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.574, allocations: 2.094 kB / 0.8057 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.5741, allocations: 48.17 kB / 0.8058 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.5746, allocations: 93.95 kB / 0.8058 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.5764, allocations: 2.62 MB / 0.8084 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.5767, allocations: 37.97 kB / 0.8084 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.5768, allocations: 13.16 kB / 0.8085 GB, free: 5.383 MB / 0.5261 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.577, allocations: 186.3 kB / 0.8086 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.5771, allocations: 37.47 kB / 0.8087 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.5772, allocations: 52.56 kB / 0.8087 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5772, allocations: 2.406 kB / 0.8087 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5772, allocations: 2.031 kB / 0.8087 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005519/0.5778, allocations: 0.58 MB / 0.8093 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.5791, allocations: 1.045 MB / 0.8103 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5792, allocations: 3.984 kB / 0.8103 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.5796, allocations: 86.14 kB / 0.8104 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5796, allocations: 2.75 kB / 0.8104 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.5796, allocations: 11.78 kB / 0.8104 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.5797, allocations: 8.656 kB / 0.8104 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5797, allocations: 3.938 kB / 0.8104 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/0.5842, allocations: 3.248 MB / 0.8136 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.5844, allocations: 161.1 kB / 0.8137 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.5845, allocations: 15.55 kB / 0.8138 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.5849, allocations: 30.02 kB / 0.8138 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.5849, allocations: 32 kB / 0.8138 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.585, allocations: 25.53 kB / 0.8138 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002086/0.5852, allocations: 222.4 kB / 0.8141 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5852, allocations: 0 / 0.8141 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006251/0.5858, allocations: 190 kB / 0.8142 GB, free: 2.496 MB / 0.5261 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 (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.0001418/0.586, allocations: 122 kB / 0.8144 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007068/0.5867, allocations: 0.5636 MB / 0.8149 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5867, allocations: 0 / 0.8149 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.5869, allocations: 183 kB / 0.8151 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.5882, allocations: 248.4 kB / 0.8153 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.59, allocations: 1.439 MB / 0.8167 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.5904, allocations: 0.8337 MB / 0.8175 GB, free: 344 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004456/0.5909, allocations: 107.2 kB / 0.8176 GB, free: 296 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.591, allocations: 38.67 kB / 0.8177 GB, free: 284 kB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/0.591, allocations: 0 / 0.8177 GB, free: 284 kB / 0.5261 GB Notification: Performance of Templates: time 0.01357/0.6046, allocations: 9.957 MB / 0.8274 GB, free: 11.41 MB / 0.5417 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)