Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009134/0.0009134, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007056/0.007056, allocations: 170.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 8.688 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3939, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004103/0.3981, allocations: 1.839 MB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004627/0.4028, allocations: 1.819 MB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.403, allocations: 7.938 kB / 1.078 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.4041, allocations: 219.2 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.4044, allocations: 59.48 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.4059, allocations: 369.6 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006066/0.4065, allocations: 389.7 kB / 1.079 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.4067, allocations: 40.38 kB / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.4069, allocations: 143.5 kB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.4072, allocations: 147.4 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.4072, allocations: 20 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.4077, allocations: 223.7 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.4079, allocations: 107.7 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.4082, allocations: 180.9 kB / 1.08 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007996/0.409, allocations: 0.5724 MB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.409, allocations: 3.938 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.335e-06/0.409, allocations: 0 / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.409, allocations: 4 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001522/0.4106, allocations: 0.6455 MB / 1.081 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.4106, allocations: 8.031 kB / 1.081 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.4131, allocations: 168.4 kB / 1.081 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.4137, allocations: 374.2 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.4139, allocations: 71.95 kB / 1.081 GB, free: 76 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.414, allocations: 8.375 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.4154, allocations: 463.2 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4155, allocations: 4 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.4155, allocations: 3.938 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.4155, allocations: 4 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.4178, allocations: 0.6246 MB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.4204, allocations: 1.058 MB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006734/0.4271, allocations: 0.9119 MB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.4283, allocations: 332.7 kB / 1.085 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.4283, allocations: 4 kB / 1.085 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/0.4298, allocations: 459 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 3.697e-06/0.4298, allocations: 4 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.003848/0.4337, allocations: 0.9751 MB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.4338, allocations: 55.41 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000869/0.4347, allocations: 437.6 kB / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/0.4348, allocations: 29.7 kB / 1.087 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.435, allocations: 183.9 kB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/0.4351, allocations: 47.34 kB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.4352, allocations: 21.72 kB / 1.087 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.4354, allocations: 350.7 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.4367, allocations: 400.6 kB / 1.087 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.4379, allocations: 391.7 kB / 1.088 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.4404, allocations: 0.6364 MB / 1.088 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4404, allocations: 3.938 kB / 1.088 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002909/0.4434, allocations: 0.9454 MB / 1.089 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.4434, allocations: 41.69 kB / 1.089 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4435, allocations: 0 / 1.089 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.4435, allocations: 4 kB / 1.089 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.4441, allocations: 71.92 kB / 1.09 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4442, allocations: 3.984 kB / 1.09 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.4447, allocations: 59.8 kB / 1.09 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.4448, allocations: 15.92 kB / 1.09 GB, free: 7.438 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0004011/0.4452, allocations: 199 kB / 1.09 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.4453, allocations: 31.62 kB / 1.09 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.564e-05/0.4454, allocations: 39.47 kB / 1.09 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4455, allocations: 7.984 kB / 1.09 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4455, allocations: 0 / 1.09 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4455, allocations: 0 / 1.09 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008504/0.4463, allocations: 0.5399 MB / 1.09 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4463, allocations: 0 / 1.09 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.447, allocations: 79.84 kB / 1.09 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.447, allocations: 0 / 1.09 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.447, allocations: 15.98 kB / 1.09 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.447, allocations: 0 / 1.09 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4471, allocations: 3.938 kB / 1.09 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.4496, allocations: 0.6994 MB / 1.091 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.4499, allocations: 168.6 kB / 1.091 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/0.45, allocations: 4 kB / 1.091 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006272/0.4506, allocations: 59.94 kB / 1.091 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4508, allocations: 19.97 kB / 1.091 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.4508, allocations: 7.984 kB / 1.091 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005324/0.4514, allocations: 331 kB / 1.092 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4514, allocations: 0 / 1.092 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005458/0.4519, allocations: 84.16 kB / 1.092 GB, free: 5.07 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003677/0.4523, allocations: 135.1 kB / 1.092 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002629/0.4549, allocations: 0.7935 MB / 1.093 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.455, allocations: 4 kB / 1.093 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.4562, allocations: 347.7 kB / 1.093 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.4569, allocations: 65.52 kB / 1.093 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.4594, allocations: 0.9208 MB / 1.094 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.46, allocations: 0.8107 MB / 1.095 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006564/0.4606, allocations: 102.2 kB / 1.095 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.4608, allocations: 31.41 kB / 1.095 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of SimCode: time 7.01e-07/0.4608, allocations: 0 / 1.095 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of Templates: time 0.01773/0.4786, allocations: 6.649 MB / 1.101 GB, free: 11.21 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1)