Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007828/0.007828, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001298/0.001297, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.613/1.613, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.6447/0.6447, allocations: 95.48 MB / 365.4 MB, free: 9.684 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.001561/0.001561, allocations: 70.62 kB / 0.5037 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1784, allocations: 69.09 MB / 0.5711 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir): time 0.6957/0.8742, allocations: 144.8 MB / 0.7125 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002968/0.8772, allocations: 1.74 MB / 0.7142 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.8775, allocations: 5.281 kB / 0.7142 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.8782, allocations: 173.1 kB / 0.7144 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006333/0.8789, allocations: 310.3 kB / 0.7147 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000972/0.8798, allocations: 321.5 kB / 0.715 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.8809, allocations: 0.8011 MB / 0.7158 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.8811, allocations: 94.89 kB / 0.7159 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006208/0.8818, allocations: 358.8 kB / 0.7162 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.8821, allocations: 270.2 kB / 0.7165 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.8822, allocations: 25.19 kB / 0.7165 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.8825, allocations: 102.2 kB / 0.7166 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.8826, allocations: 92.47 kB / 0.7167 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.8828, allocations: 174.2 kB / 0.7168 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.8834, allocations: 449.3 kB / 0.7173 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8834, allocations: 0 / 0.7173 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.316e-06/0.8834, allocations: 0 / 0.7173 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.8834, allocations: 7.938 kB / 0.7173 GB, free: 8.785 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.0008954/0.8843, allocations: 0.5848 MB / 0.7179 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.8844, allocations: 15.98 kB / 0.7179 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/0.8847, allocations: 44.55 kB / 0.7179 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.8852, allocations: 275.8 kB / 0.7182 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.8852, allocations: 16.94 kB / 0.7182 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.8853, allocations: 24.38 kB / 0.7182 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.8858, allocations: 304 kB / 0.7185 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.8858, allocations: 3.984 kB / 0.7185 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.8858, allocations: 12 kB / 0.7185 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.8859, allocations: 11.94 kB / 0.7185 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.8862, allocations: 189.5 kB / 0.7187 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.8881, allocations: 1.484 MB / 0.7202 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.8884, allocations: 182.7 kB / 0.7203 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.8885, allocations: 88.83 kB / 0.7204 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.8887, allocations: 170.2 kB / 0.7206 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.8888, allocations: 34.56 kB / 0.7206 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=21): time 2.665e-06/0.8888, allocations: 0 / 0.7206 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21): time 0.0006234/0.8894, allocations: 325.2 kB / 0.7209 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.8894, allocations: 55.41 kB / 0.721 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.8897, allocations: 254.6 kB / 0.7212 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.8897, allocations: 37.7 kB / 0.7213 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.8899, allocations: 179.7 kB / 0.7214 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.8899, allocations: 71 kB / 0.7215 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.89, allocations: 61.59 kB / 0.7216 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8902, allocations: 346.7 kB / 0.7219 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.8903, allocations: 55.98 kB / 0.7219 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.8905, allocations: 168.9 kB / 0.7221 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.8908, allocations: 260.8 kB / 0.7223 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.8908, allocations: 0 / 0.7223 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004153/0.8912, allocations: 286.2 kB / 0.7226 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8912, allocations: 9.156 kB / 0.7226 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8913, allocations: 4 kB / 0.7226 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/0.8914, allocations: 28.78 kB / 0.7227 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.8916, allocations: 67.91 kB / 0.7227 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.8929, allocations: 1.391 MB / 0.7241 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.8931, allocations: 31.59 kB / 0.7241 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.8931, allocations: 12 kB / 0.7241 GB, free: 1.156 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (36): * Single equations (assignments): 35 * 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.0001473/0.8932, allocations: 161.7 kB / 0.7243 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.8933, allocations: 23.72 kB / 0.7243 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.8936, allocations: 207.7 kB / 0.7245 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.8937, allocations: 0 / 0.7245 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8937, allocations: 4 kB / 0.7245 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003884/0.8941, allocations: 479.7 kB / 0.725 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.8948, allocations: 0.5459 MB / 0.7255 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8948, allocations: 3.188 kB / 0.7255 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.8951, allocations: 63.94 kB / 0.7256 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8951, allocations: 0 / 0.7256 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.8952, allocations: 4 kB / 0.7256 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8952, allocations: 0 / 0.7256 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8952, allocations: 0 / 0.7256 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.8956, allocations: 363.9 kB / 0.7259 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.8957, allocations: 100.8 kB / 0.726 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.8957, allocations: 4 kB / 0.726 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.8959, allocations: 0 / 0.726 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.896, allocations: 19.97 kB / 0.726 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.896, allocations: 8 kB / 0.726 GB, free: 15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001823/0.8962, allocations: 186 kB / 0.7262 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8962, allocations: 3.938 kB / 0.7262 GB, free: 14.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004111/0.8966, allocations: 99.84 kB / 0.7263 GB, free: 14.72 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.U,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 (21): * Single equations (assignments): 21 * 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.0002599/0.8969, allocations: 139.7 kB / 0.7264 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006072/0.8975, allocations: 294.2 kB / 0.7267 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8975, allocations: 0.8125 kB / 0.7267 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.8976, allocations: 71.91 kB / 0.7268 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008947/0.8985, allocations: 168.8 kB / 0.727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.8997, allocations: 0.6153 MB / 0.7276 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.9001, allocations: 0.76 MB / 0.7283 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001931/0.9003, allocations: 42.95 kB / 0.7283 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.9004, allocations: 31.42 kB / 0.7284 GB, free: 12.55 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.9004, allocations: 4 kB / 0.7284 GB, free: 12.55 MB / 0.545 GB Notification: Performance of Templates: time 0.01002/0.9104, allocations: 5.306 MB / 0.7336 GB, free: 7.293 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe 2>&1)