Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001392/0.001392, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 222.1 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 251.9 MB / 0.51 GB, free: 4.879 MB / 414.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: Performance of FrontEnd - loaded program: time 0.000606/0.000606, allocations: 20 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5733, allocations: 106.3 MB / 0.728 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003682/0.5771, allocations: 2.352 MB / 0.7303 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003375/0.5805, allocations: 1.958 MB / 0.7322 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.5808, allocations: 0 / 0.7322 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.5817, allocations: 255.1 kB / 0.7324 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.582, allocations: 83.75 kB / 0.7325 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.5834, allocations: 425.9 kB / 0.7329 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.5841, allocations: 327.4 kB / 0.7332 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.5842, allocations: 40.73 kB / 0.7333 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.5846, allocations: 175.5 kB / 0.7335 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.5849, allocations: 195.4 kB / 0.7336 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.5851, allocations: 20 kB / 0.7337 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.5856, allocations: 211.6 kB / 0.7339 GB, free: 5.562 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.5858, allocations: 147.6 kB / 0.734 GB, free: 5.418 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.5859, allocations: 89.45 kB / 0.7341 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.5867, allocations: 0.5671 MB / 0.7346 GB, free: 4.758 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.5867, allocations: 0 / 0.7346 GB, free: 4.758 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.805e-06/0.5867, allocations: 8 kB / 0.7346 GB, free: 4.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.5867, allocations: 0 / 0.7346 GB, free: 4.75 MB / 0.545 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.001684/0.5884, allocations: 0.7738 MB / 0.7354 GB, free: 3.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5885, allocations: 8.031 kB / 0.7354 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.5907, allocations: 243.2 kB / 0.7356 GB, free: 3.668 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/0.5915, allocations: 405.2 kB / 0.736 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.5916, allocations: 79.38 kB / 0.7361 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.5917, allocations: 15.94 kB / 0.7361 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.5931, allocations: 0.5597 MB / 0.7367 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5931, allocations: 0 / 0.7367 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.5932, allocations: 7.953 kB / 0.7367 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.5932, allocations: 7.984 kB / 0.7367 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.5953, allocations: 0.8235 MB / 0.7375 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.598, allocations: 1.288 MB / 0.7387 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005363/0.6034, allocations: 1.076 MB / 0.7398 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.6034, allocations: 11.98 kB / 0.7398 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/0.6048, allocations: 0.5653 MB / 0.7404 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 2.595e-06/0.6048, allocations: 0 / 0.7404 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0033/0.6081, allocations: 1.26 MB / 0.7416 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.6082, allocations: 63.28 kB / 0.7417 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.6088, allocations: 0.5174 MB / 0.7422 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.191e-05/0.6089, allocations: 33.7 kB / 0.7422 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.6091, allocations: 200.4 kB / 0.7424 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/0.6092, allocations: 59.11 kB / 0.7424 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.6092, allocations: 4 kB / 0.7424 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6094, allocations: 366.8 kB / 0.7428 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.6105, allocations: 488.5 kB / 0.7433 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.6117, allocations: 0.5208 MB / 0.7438 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.6129, allocations: 458.9 kB / 0.7442 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6129, allocations: 4 kB / 0.7442 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002575/0.6154, allocations: 1.147 MB / 0.7453 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.6155, allocations: 45.69 kB / 0.7454 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6155, allocations: 4 kB / 0.7454 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6156, allocations: 0 / 0.7454 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.6162, allocations: 107.8 kB / 0.7455 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.6162, allocations: 7.953 kB / 0.7455 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/0.6168, allocations: 75.77 kB / 0.7456 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.6168, allocations: 19.98 kB / 0.7456 GB, free: 9.289 MB / 0.5606 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.6172, allocations: 205.8 kB / 0.7458 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.6173, allocations: 39.53 kB / 0.7458 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.6174, allocations: 55.91 kB / 0.7459 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.6174, allocations: 4 kB / 0.7459 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6174, allocations: 0 / 0.7459 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.6174, allocations: 7.953 kB / 0.7459 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.6181, allocations: 0.6454 MB / 0.7465 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6181, allocations: 0 / 0.7465 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.6188, allocations: 107.8 kB / 0.7466 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.6188, allocations: 7.984 kB / 0.7466 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.6188, allocations: 11.98 kB / 0.7466 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6188, allocations: 0 / 0.7466 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6188, allocations: 3.953 kB / 0.7466 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.6211, allocations: 0.8905 MB / 0.7475 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.6214, allocations: 184.5 kB / 0.7477 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.6215, allocations: 8 kB / 0.7477 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.6221, allocations: 75.92 kB / 0.7478 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.6222, allocations: 35.91 kB / 0.7478 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.6223, allocations: 7.984 kB / 0.7478 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004777/0.6228, allocations: 391 kB / 0.7482 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6228, allocations: 0 / 0.7482 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004705/0.6232, allocations: 107.8 kB / 0.7483 GB, free: 6.422 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004981/0.6237, allocations: 161.9 kB / 0.7484 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002596/0.6264, allocations: 0.9924 MB / 0.7494 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6264, allocations: 0 / 0.7494 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6275, allocations: 445.7 kB / 0.7498 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.628, allocations: 89.84 kB / 0.7499 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.6304, allocations: 1.124 MB / 0.751 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.6309, allocations: 0.87 MB / 0.7519 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005596/0.6315, allocations: 130.9 kB / 0.752 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.6316, allocations: 35.41 kB / 0.752 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.6316, allocations: 0 / 0.752 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of Templates: time 0.0157/0.6473, allocations: 7.941 MB / 0.7598 GB, free: 10.71 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) Environment - environmentSimulation: