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.001628/0.001627, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002041/0.002041, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.517/1.517, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.09 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3471, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00441/0.3516, allocations: 2.931 MB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.3548, allocations: 2.224 MB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.336e-05/0.3549, allocations: 4 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007124/0.3556, allocations: 247.1 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.3558, allocations: 71.39 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.3569, allocations: 431.7 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005732/0.3574, allocations: 498.5 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3576, allocations: 52.73 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3578, allocations: 179.4 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.3581, allocations: 211.2 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.3581, allocations: 24 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.3585, allocations: 223.7 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.3587, allocations: 151.6 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.3589, allocations: 202.9 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.3596, allocations: 0.74 MB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3597, allocations: 0 / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3597, allocations: 0 / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3597, allocations: 0 / 1.075 GB, free: 2.75 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001491/0.3612, allocations: 0.836 MB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.3612, allocations: 12.03 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.3634, allocations: 232.1 kB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.3639, allocations: 426 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.364, allocations: 87.94 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.3641, allocations: 8.375 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3654, allocations: 0.5293 MB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3654, allocations: 0 / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.3655, allocations: 4 kB / 1.078 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3655, allocations: 4 kB / 1.078 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.3676, allocations: 0.765 MB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.3699, allocations: 1.273 MB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005475/0.3754, allocations: 1.013 MB / 1.081 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000957/0.3764, allocations: 400.6 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.3764, allocations: 0 / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.3777, allocations: 0.5406 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.3777, allocations: 0 / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.003099/0.3808, allocations: 1.172 MB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3808, allocations: 59.39 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.3816, allocations: 0.5214 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-05/0.3816, allocations: 37.69 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.3818, allocations: 200.4 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.3819, allocations: 67.11 kB / 1.083 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.3821, allocations: 65.66 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3823, allocations: 354.8 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.3834, allocations: 464.5 kB / 1.084 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.3845, allocations: 0.4935 MB / 1.085 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.3864, allocations: 0.762 MB / 1.086 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3864, allocations: 0 / 1.086 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002389/0.3888, allocations: 1.073 MB / 1.087 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.3889, allocations: 45.62 kB / 1.087 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3889, allocations: 4 kB / 1.087 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3889, allocations: 15.86 kB / 1.087 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.3896, allocations: 83.89 kB / 1.087 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3896, allocations: 0 / 1.087 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/0.3901, allocations: 59.88 kB / 1.087 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/0.3902, allocations: 19.97 kB / 1.087 GB, free: 6.902 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.0002824/0.3905, allocations: 218.3 kB / 1.087 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.3906, allocations: 43.44 kB / 1.087 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.787e-05/0.3907, allocations: 59.84 kB / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3907, allocations: 0 / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3907, allocations: 0 / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3907, allocations: 0 / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.3914, allocations: 0.6417 MB / 1.088 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3914, allocations: 0 / 1.088 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/0.392, allocations: 95.89 kB / 1.088 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.392, allocations: 0 / 1.088 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.3921, allocations: 15.92 kB / 1.088 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3921, allocations: 3.938 kB / 1.088 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3921, allocations: 0 / 1.088 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.3942, allocations: 0.8377 MB / 1.089 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.3945, allocations: 184.5 kB / 1.089 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.3945, allocations: 15.92 kB / 1.089 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.3951, allocations: 59.92 kB / 1.089 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/0.3952, allocations: 27.91 kB / 1.089 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.3952, allocations: 7.984 kB / 1.089 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004422/0.3957, allocations: 395 kB / 1.089 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3957, allocations: 0 / 1.089 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004054/0.3961, allocations: 96 kB / 1.089 GB, free: 4.125 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.0002817/0.3964, allocations: 139.1 kB / 1.09 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.3986, allocations: 0.9464 MB / 1.09 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3986, allocations: 0 / 1.09 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.3997, allocations: 419.6 kB / 1.091 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.4003, allocations: 93.77 kB / 1.091 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.4027, allocations: 1.152 MB / 1.092 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.4031, allocations: 0.8583 MB / 1.093 GB, free: 464 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005384/0.4036, allocations: 130.9 kB / 1.093 GB, free: 336 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.4038, allocations: 39.39 kB / 1.093 GB, free: 296 kB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.4039, allocations: 0 / 1.093 GB, free: 296 kB / 0.8419 GB Notification: Performance of Templates: time 0.01561/0.4195, allocations: 8.262 MB / 1.101 GB, free: 8.117 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)