Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 91.84 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.009591/0.009591, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.673/1.673, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000519/0.0005191, allocations: 11.41 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3724, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003603/0.376, allocations: 2.563 MB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003436/0.3795, allocations: 2.177 MB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.3798, allocations: 7.938 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009118/0.3807, allocations: 259 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.381, allocations: 59.47 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.3823, allocations: 448.3 kB / 1.08 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007455/0.383, allocations: 486.5 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3832, allocations: 56.7 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.3836, allocations: 179.4 kB / 1.08 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.384, allocations: 203.3 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.3841, allocations: 24 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005177/0.3846, allocations: 231.7 kB / 1.081 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.3849, allocations: 143.6 kB / 1.081 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.3852, allocations: 224.6 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008958/0.3861, allocations: 0.7165 MB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3861, allocations: 4 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3861, allocations: 3.938 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.024e-05/0.3861, allocations: 0 / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001527/0.3877, allocations: 0.7779 MB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3877, allocations: 8.031 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/0.39, allocations: 240.1 kB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/0.3907, allocations: 422 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.3909, allocations: 79.95 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.3909, allocations: 16.36 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.3924, allocations: 0.5605 MB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3924, allocations: 0 / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.3925, allocations: 4 kB / 1.084 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.3925, allocations: 11.98 kB / 1.084 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.3947, allocations: 0.8119 MB / 1.085 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.3972, allocations: 1.292 MB / 1.086 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005598/0.4028, allocations: 1.095 MB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.404, allocations: 428.5 kB / 1.087 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.404, allocations: 4 kB / 1.087 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.4054, allocations: 0.5579 MB / 1.088 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 3.486e-06/0.4054, allocations: 0 / 1.088 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.003577/0.409, allocations: 1.27 MB / 1.089 GB, free: 8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.409, allocations: 55.41 kB / 1.089 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008085/0.4099, allocations: 0.5175 MB / 1.09 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.41, allocations: 33.7 kB / 1.09 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.4102, allocations: 200.4 kB / 1.09 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.4103, allocations: 67.08 kB / 1.09 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.4104, allocations: 25.72 kB / 1.09 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4105, allocations: 358.8 kB / 1.09 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.4117, allocations: 496.5 kB / 1.091 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.413, allocations: 0.5197 MB / 1.091 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.4152, allocations: 0.8142 MB / 1.092 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4152, allocations: 4 kB / 1.092 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00268/0.4179, allocations: 1.125 MB / 1.093 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/0.4179, allocations: 45.69 kB / 1.093 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4179, allocations: 0 / 1.093 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.418, allocations: 3.938 kB / 1.093 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.4186, allocations: 107.8 kB / 1.093 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.4186, allocations: 4 kB / 1.093 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.4192, allocations: 79.72 kB / 1.093 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.4193, allocations: 19.98 kB / 1.093 GB, free: 3.477 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 (22): * Single equations (assignments): 21 * 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.0003996/0.4197, allocations: 205.8 kB / 1.094 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.4198, allocations: 43.52 kB / 1.094 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.4199, allocations: 51.92 kB / 1.094 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.42, allocations: 7.938 kB / 1.094 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.42, allocations: 0 / 1.094 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.42, allocations: 4 kB / 1.094 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.4208, allocations: 0.6339 MB / 1.094 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4208, allocations: 3.938 kB / 1.094 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.4215, allocations: 111.9 kB / 1.094 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4215, allocations: 4 kB / 1.094 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.4215, allocations: 15.92 kB / 1.094 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4216, allocations: 0 / 1.094 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4216, allocations: 0 / 1.094 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.4238, allocations: 0.8927 MB / 1.095 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.4241, allocations: 184.5 kB / 1.096 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.4242, allocations: 11.94 kB / 1.096 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.4248, allocations: 79.92 kB / 1.096 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.4249, allocations: 27.95 kB / 1.096 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.4249, allocations: 15.92 kB / 1.096 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005278/0.4255, allocations: 387.1 kB / 1.096 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4255, allocations: 0 / 1.096 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004491/0.4259, allocations: 107.9 kB / 1.096 GB, free: 0.6133 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 (21): * Single equations (assignments): 19 * 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.0003472/0.4263, allocations: 143.1 kB / 1.096 GB, free: 476 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002457/0.4288, allocations: 0.9985 MB / 1.097 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4288, allocations: 0 / 1.097 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.4299, allocations: 443.6 kB / 1.098 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.4305, allocations: 87.91 kB / 1.098 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.4333, allocations: 1.181 MB / 1.099 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.4339, allocations: 0.8544 MB / 1.1 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005653/0.4345, allocations: 134.9 kB / 1.1 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.4347, allocations: 35.41 kB / 1.1 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.4347, allocations: 4 kB / 1.1 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of Templates: time 0.01561/0.4503, allocations: 8.165 MB / 1.108 GB, free: 4.602 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)