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.005946/0.005946, allocations: 100.7 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.001229/0.001228, allocations: 197.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.662/1.662, allocations: 205.1 MB / 222.6 MB, free: 4.543 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.6037/0.6037, allocations: 95.47 MB / 365.4 MB, free: 9.789 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.001452/0.001452, allocations: 63.91 kB / 0.5037 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1716, allocations: 69.09 MB / 0.5711 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir): time 0.6471/0.8188, allocations: 144.8 MB / 0.7125 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.8215, allocations: 1.734 MB / 0.7142 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.822, allocations: 9.062 kB / 0.7142 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007332/0.8228, allocations: 173.5 kB / 0.7144 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009302/0.8238, allocations: 308.3 kB / 0.7147 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.8248, allocations: 333.5 kB / 0.715 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.826, allocations: 0.7914 MB / 0.7158 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.8263, allocations: 100 kB / 0.7159 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008513/0.8272, allocations: 354.7 kB / 0.7162 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.8277, allocations: 264 kB / 0.7165 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.698e-05/0.8278, allocations: 28.06 kB / 0.7165 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003982/0.8282, allocations: 104.6 kB / 0.7166 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.8283, allocations: 88.53 kB / 0.7167 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.8286, allocations: 174.2 kB / 0.7168 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005455/0.8291, allocations: 453.4 kB / 0.7173 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8291, allocations: 0 / 0.7173 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.407e-06/0.8291, allocations: 4 kB / 0.7173 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.8292, allocations: 5.438 kB / 0.7173 GB, free: 8.805 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.0008858/0.83, allocations: 0.5732 MB / 0.7178 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.8301, allocations: 15.98 kB / 0.7179 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.8304, allocations: 36.56 kB / 0.7179 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.8309, allocations: 295.7 kB / 0.7182 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.831, allocations: 20.92 kB / 0.7182 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.831, allocations: 24.38 kB / 0.7182 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.8315, allocations: 300 kB / 0.7185 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.8315, allocations: 7.938 kB / 0.7185 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.8316, allocations: 12 kB / 0.7185 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.8316, allocations: 8 kB / 0.7185 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.8319, allocations: 189.5 kB / 0.7187 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.8336, allocations: 1.484 MB / 0.7202 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.8339, allocations: 182.7 kB / 0.7203 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.834, allocations: 88.83 kB / 0.7204 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.8342, allocations: 170.2 kB / 0.7206 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.8342, allocations: 38.5 kB / 0.7206 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.8343, allocations: 0 / 0.7206 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21): time 0.0006044/0.8349, allocations: 321.5 kB / 0.7209 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.8349, allocations: 55.41 kB / 0.721 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.8352, allocations: 262.5 kB / 0.7212 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.8352, allocations: 29.7 kB / 0.7213 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.8354, allocations: 179.7 kB / 0.7214 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.8354, allocations: 71 kB / 0.7215 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.8355, allocations: 61.61 kB / 0.7216 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8357, allocations: 342.7 kB / 0.7219 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.8358, allocations: 67.97 kB / 0.7219 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.836, allocations: 157.9 kB / 0.7221 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.8363, allocations: 252.8 kB / 0.7223 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.8363, allocations: 4 kB / 0.7223 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000448/0.8367, allocations: 293.8 kB / 0.7226 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.8368, allocations: 4 kB / 0.7226 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8368, allocations: 4 kB / 0.7226 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.8369, allocations: 24.84 kB / 0.7227 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.8371, allocations: 71.84 kB / 0.7227 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.8384, allocations: 1.39 MB / 0.7241 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.8386, allocations: 35.75 kB / 0.7241 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.8387, allocations: 16 kB / 0.7241 GB, free: 1.172 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.0001468/0.8388, allocations: 149.7 kB / 0.7243 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.8389, allocations: 27.72 kB / 0.7243 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.8392, allocations: 207.4 kB / 0.7245 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8392, allocations: 0 / 0.7245 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.8392, allocations: 0 / 0.7245 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000406/0.8397, allocations: 487.7 kB / 0.725 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.8404, allocations: 0.5459 MB / 0.7255 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.8404, allocations: 0.875 kB / 0.7255 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.8407, allocations: 55.95 kB / 0.7255 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.8407, allocations: 0 / 0.7255 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.8408, allocations: 8 kB / 0.7256 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.8408, allocations: 3.938 kB / 0.7256 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8408, allocations: 0 / 0.7256 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.8413, allocations: 366.2 kB / 0.7259 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.8414, allocations: 92.83 kB / 0.726 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.8414, allocations: 8 kB / 0.726 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.8415, allocations: 0 / 0.726 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.8416, allocations: 15.98 kB / 0.726 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.8416, allocations: 7.984 kB / 0.726 GB, free: 15.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002068/0.8419, allocations: 190 kB / 0.7262 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8419, allocations: 3.938 kB / 0.7262 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004333/0.8423, allocations: 103.8 kB / 0.7263 GB, free: 14.74 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.0002874/0.8426, allocations: 139.5 kB / 0.7264 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.8432, allocations: 295 kB / 0.7267 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8432, allocations: 0 / 0.7267 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.8433, allocations: 78.66 kB / 0.7268 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.8442, allocations: 163.4 kB / 0.727 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.8455, allocations: 0.6153 MB / 0.7276 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.8459, allocations: 0.76 MB / 0.7283 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.8462, allocations: 50.89 kB / 0.7283 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.8462, allocations: 27.44 kB / 0.7284 GB, free: 12.57 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.8462, allocations: 0 / 0.7284 GB, free: 12.57 MB / 0.545 GB Notification: Performance of Templates: time 0.01188/0.8581, allocations: 5.314 MB / 0.7336 GB, free: 7.309 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)