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.006668/0.006668, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001369/0.001369, allocations: 196.3 kB / 16.68 MB, free: 5.969 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.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4754/0.4754, allocations: 95.48 MB / 365.4 MB, free: 12.16 MB / 318.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.002612/0.002612, allocations: 75.91 kB / 0.5037 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5371, allocations: 69.09 MB / 0.5711 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir): time 0.188/0.7252, allocations: 144.8 MB / 0.7125 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003433/0.7287, allocations: 1.73 MB / 0.7142 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000537/0.7293, allocations: 7.938 kB / 0.7142 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009077/0.7303, allocations: 170.9 kB / 0.7144 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.7314, allocations: 306.3 kB / 0.7147 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.7326, allocations: 330.5 kB / 0.715 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.734, allocations: 0.7939 MB / 0.7158 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.7343, allocations: 104.7 kB / 0.7159 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.7354, allocations: 346.7 kB / 0.7162 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006736/0.7361, allocations: 266.9 kB / 0.7165 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.7362, allocations: 31.94 kB / 0.7165 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.7367, allocations: 107.8 kB / 0.7166 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.7369, allocations: 91.67 kB / 0.7167 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.7372, allocations: 179.2 kB / 0.7169 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.7379, allocations: 452.5 kB / 0.7173 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7379, allocations: 0 / 0.7173 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7379, allocations: 0 / 0.7173 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.738, allocations: 0 / 0.7173 GB, free: 13.89 MB / 0.5762 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.0008676/0.7388, allocations: 0.5732 MB / 0.7178 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.7389, allocations: 19.98 kB / 0.7179 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.7392, allocations: 44.56 kB / 0.7179 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.7397, allocations: 284.7 kB / 0.7182 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.7397, allocations: 16.94 kB / 0.7182 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.7398, allocations: 24.38 kB / 0.7182 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.7402, allocations: 303.8 kB / 0.7185 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.7402, allocations: 0 / 0.7185 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.7403, allocations: 12 kB / 0.7185 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.7403, allocations: 8 kB / 0.7185 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.7406, allocations: 185.6 kB / 0.7187 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.7424, allocations: 1.492 MB / 0.7202 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.7427, allocations: 190.4 kB / 0.7203 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.7428, allocations: 91.77 kB / 0.7204 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.7429, allocations: 170.2 kB / 0.7206 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.743, allocations: 38.56 kB / 0.7206 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.743, allocations: 0 / 0.7206 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0005857/0.7436, allocations: 319.6 kB / 0.7209 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.7436, allocations: 51.41 kB / 0.721 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.7439, allocations: 258.6 kB / 0.7212 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.7439, allocations: 29.7 kB / 0.7213 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.7441, allocations: 183.7 kB / 0.7214 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.7441, allocations: 78.91 kB / 0.7215 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.7442, allocations: 61.61 kB / 0.7216 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7444, allocations: 342.8 kB / 0.7219 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.7445, allocations: 59.97 kB / 0.7219 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.7446, allocations: 164.1 kB / 0.7221 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.7449, allocations: 246.3 kB / 0.7223 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.745, allocations: 4 kB / 0.7223 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004119/0.7454, allocations: 289.8 kB / 0.7226 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7454, allocations: 4 kB / 0.7226 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.7454, allocations: 4.406 kB / 0.7226 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.7455, allocations: 28.84 kB / 0.7227 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.7458, allocations: 67.91 kB / 0.7227 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.7469, allocations: 1.386 MB / 0.7241 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.7471, allocations: 35.59 kB / 0.7241 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.7471, allocations: 15.94 kB / 0.7241 GB, free: 6.27 MB / 0.5762 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.0001535/0.7473, allocations: 158.2 kB / 0.7243 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.7474, allocations: 23.72 kB / 0.7243 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.7477, allocations: 204.7 kB / 0.7245 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7477, allocations: 0 / 0.7245 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.7477, allocations: 0 / 0.7245 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003869/0.7481, allocations: 495.2 kB / 0.725 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.7488, allocations: 0.5459 MB / 0.7255 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7488, allocations: 0 / 0.7255 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.7491, allocations: 59.95 kB / 0.7256 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.7492, allocations: 7.969 kB / 0.7256 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.7492, allocations: 4 kB / 0.7256 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7492, allocations: 3.984 kB / 0.7256 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7492, allocations: 0 / 0.7256 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.7496, allocations: 355.9 kB / 0.7259 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.7497, allocations: 96.84 kB / 0.726 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.7497, allocations: 8 kB / 0.726 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.7499, allocations: 4.062 kB / 0.726 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.7499, allocations: 15.98 kB / 0.726 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.75, allocations: 11.98 kB / 0.726 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001947/0.7502, allocations: 182 kB / 0.7262 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7502, allocations: 0 / 0.7262 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004236/0.7506, allocations: 99.92 kB / 0.7263 GB, free: 3.836 MB / 0.5762 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.000269/0.7509, allocations: 147.6 kB / 0.7264 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005557/0.7514, allocations: 286.4 kB / 0.7267 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7515, allocations: 0 / 0.7267 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.7516, allocations: 75.86 kB / 0.7268 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009048/0.7525, allocations: 172.9 kB / 0.727 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.7538, allocations: 0.6108 MB / 0.7276 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.7542, allocations: 0.76 MB / 0.7283 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.7544, allocations: 46.95 kB / 0.7283 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.7545, allocations: 27.44 kB / 0.7284 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.7545, allocations: 0 / 0.7284 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of Templates: time 0.01199/0.7665, allocations: 5.392 MB / 0.7336 GB, free: 12.31 MB / 0.5919 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)