Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00962/0.00962, allocations: 101.7 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 196.5 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6277/0.6277, allocations: 95.47 MB / 365.4 MB, free: 9.785 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 74.31 kB / 0.5037 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1652, allocations: 69.08 MB / 0.5711 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir): time 0.5407/0.706, allocations: 144.8 MB / 0.7125 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.7084, allocations: 1.729 MB / 0.7142 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.7087, allocations: 4.469 kB / 0.7142 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.7093, allocations: 179.7 kB / 0.7144 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.7099, allocations: 307.8 kB / 0.7147 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.7107, allocations: 332.7 kB / 0.715 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.7115, allocations: 0.7863 MB / 0.7158 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.7117, allocations: 94.11 kB / 0.7159 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005573/0.7123, allocations: 352.8 kB / 0.7162 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.7126, allocations: 255 kB / 0.7164 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.7126, allocations: 25.22 kB / 0.7165 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.7129, allocations: 114.5 kB / 0.7166 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.713, allocations: 88.34 kB / 0.7167 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.7132, allocations: 171.9 kB / 0.7168 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.7138, allocations: 457.1 kB / 0.7173 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7138, allocations: 0 / 0.7173 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7138, allocations: 0 / 0.7173 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.7138, allocations: 0 / 0.7173 GB, free: 8.855 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009454/0.7148, allocations: 0.5848 MB / 0.7178 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.7148, allocations: 11.98 kB / 0.7178 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.7152, allocations: 44.55 kB / 0.7179 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.7157, allocations: 275.8 kB / 0.7181 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.7158, allocations: 16.94 kB / 0.7182 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.7158, allocations: 28.38 kB / 0.7182 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.7164, allocations: 317.6 kB / 0.7185 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.7164, allocations: 7.984 kB / 0.7185 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.7164, allocations: 11.94 kB / 0.7185 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.7164, allocations: 12 kB / 0.7185 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.7168, allocations: 189.5 kB / 0.7187 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.7189, allocations: 1.724 MB / 0.7204 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.7193, allocations: 154.6 kB / 0.7205 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.7194, allocations: 64.84 kB / 0.7206 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.7196, allocations: 170.2 kB / 0.7208 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.7196, allocations: 34.56 kB / 0.7208 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.7196, allocations: 0 / 0.7208 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16): time 0.0005489/0.7202, allocations: 296.9 kB / 0.7211 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.7202, allocations: 51.41 kB / 0.7211 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.7205, allocations: 278.6 kB / 0.7214 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.7205, allocations: 25.7 kB / 0.7214 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.7207, allocations: 195.5 kB / 0.7216 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.7208, allocations: 63.09 kB / 0.7217 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.7209, allocations: 53.7 kB / 0.7217 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.721, allocations: 342.8 kB / 0.722 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.7211, allocations: 67.83 kB / 0.7221 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.7214, allocations: 174.4 kB / 0.7223 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.7217, allocations: 253.3 kB / 0.7225 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7217, allocations: 0 / 0.7225 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004681/0.7222, allocations: 298.2 kB / 0.7228 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.7222, allocations: 8.938 kB / 0.7228 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7222, allocations: 7.938 kB / 0.7228 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.7224, allocations: 24.84 kB / 0.7228 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.7226, allocations: 71.84 kB / 0.7229 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.7237, allocations: 1.394 MB / 0.7243 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.7239, allocations: 35.53 kB / 0.7243 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.724, allocations: 17.56 kB / 0.7243 GB, free: 0.9727 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.7242, allocations: 150.4 kB / 0.7245 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.7242, allocations: 23.72 kB / 0.7245 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.7246, allocations: 188.5 kB / 0.7247 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7246, allocations: 4 kB / 0.7247 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.7246, allocations: 0 / 0.7247 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003616/0.725, allocations: 464.4 kB / 0.7251 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.726, allocations: 0.6854 MB / 0.7258 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.726, allocations: 4.078 kB / 0.7258 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.7262, allocations: 39.92 kB / 0.7258 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.7263, allocations: 7.984 kB / 0.7258 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.7263, allocations: 8.219 kB / 0.7258 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.7263, allocations: 13.06 kB / 0.7258 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7263, allocations: 0 / 0.7258 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.7267, allocations: 360.5 kB / 0.7262 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.7268, allocations: 104.8 kB / 0.7263 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.7269, allocations: 4 kB / 0.7263 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.727, allocations: 4 kB / 0.7263 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.7271, allocations: 15.92 kB / 0.7263 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.7271, allocations: 15.98 kB / 0.7263 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001982/0.7273, allocations: 198 kB / 0.7265 GB, free: 14.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7273, allocations: 4 kB / 0.7265 GB, free: 14.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004333/0.7277, allocations: 91.84 kB / 0.7266 GB, free: 14.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (volume.U) * 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 (16): * Single equations (assignments): 16 * 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.0002447/0.728, allocations: 143.1 kB / 0.7267 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005287/0.7285, allocations: 278.7 kB / 0.727 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7285, allocations: 7.938 kB / 0.727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.7287, allocations: 59.86 kB / 0.7271 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000858/0.7295, allocations: 163.1 kB / 0.7272 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.7307, allocations: 0.5764 MB / 0.7278 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.7311, allocations: 0.7561 MB / 0.7285 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002214/0.7314, allocations: 54.56 kB / 0.7286 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.7314, allocations: 27.44 kB / 0.7286 GB, free: 12.24 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.7314, allocations: 0 / 0.7286 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Templates: time 0.01078/0.7422, allocations: 5.202 MB / 0.7337 GB, free: 7.086 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe 2>&1)