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.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.08 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3132, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00401/0.3172, allocations: 2.887 MB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003487/0.3207, allocations: 2.22 MB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3209, allocations: 4 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000921/0.3218, allocations: 266.8 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.3221, allocations: 79.28 kB / 1.074 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.3235, allocations: 487.5 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006708/0.3242, allocations: 0.5063 MB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3244, allocations: 56.72 kB / 1.075 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.3246, allocations: 199.5 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.3249, allocations: 211.3 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.594e-05/0.325, allocations: 36 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.3255, allocations: 247.7 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.3257, allocations: 151.6 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.3259, allocations: 226.8 kB / 1.076 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007939/0.3267, allocations: 0.74 MB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3267, allocations: 0 / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.908e-06/0.3267, allocations: 4 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.3267, allocations: 0 / 1.076 GB, free: 2.086 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.001469/0.3282, allocations: 0.836 MB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3283, allocations: 12.03 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.3305, allocations: 224.1 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.3311, allocations: 434 kB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.3313, allocations: 87.94 kB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.3313, allocations: 8.375 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3326, allocations: 0.5248 MB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3327, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.3327, allocations: 8 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.3327, allocations: 4 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.3348, allocations: 0.7623 MB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.3371, allocations: 1.276 MB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00536/0.3424, allocations: 1.013 MB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009812/0.3434, allocations: 400.6 kB / 1.082 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3435, allocations: 7.938 kB / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.3447, allocations: 0.531 MB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.3447, allocations: 4 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.003297/0.348, allocations: 1.179 MB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.3481, allocations: 55.41 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.3487, allocations: 0.5213 MB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/0.3488, allocations: 37.69 kB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.349, allocations: 200.4 kB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/0.3491, allocations: 67.09 kB / 1.084 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.3493, allocations: 65.66 kB / 1.084 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002356/0.3496, allocations: 354.8 kB / 1.085 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3508, allocations: 468.5 kB / 1.085 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.352, allocations: 0.4962 MB / 1.086 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.354, allocations: 0.7519 MB / 1.086 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.354, allocations: 8 kB / 1.086 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002543/0.3566, allocations: 1.074 MB / 1.087 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.3567, allocations: 45.69 kB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3567, allocations: 0 / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.3567, allocations: 3.938 kB / 1.087 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.3574, allocations: 87.89 kB / 1.087 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3574, allocations: 4 kB / 1.087 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.3579, allocations: 55.88 kB / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.358, allocations: 23.97 kB / 1.088 GB, free: 6.234 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.0003321/0.3583, allocations: 217.6 kB / 1.088 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.3584, allocations: 43.44 kB / 1.088 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-05/0.3585, allocations: 51.86 kB / 1.088 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.3585, allocations: 7.984 kB / 1.088 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3586, allocations: 0 / 1.088 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3586, allocations: 0 / 1.088 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.3593, allocations: 0.6378 MB / 1.089 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3593, allocations: 0 / 1.089 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.3599, allocations: 87.89 kB / 1.089 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3599, allocations: 7.938 kB / 1.089 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.36, allocations: 11.92 kB / 1.089 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.36, allocations: 4 kB / 1.089 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.36, allocations: 4 kB / 1.089 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.3622, allocations: 0.8351 MB / 1.089 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.3624, allocations: 184.5 kB / 1.09 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.3625, allocations: 15.92 kB / 1.09 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.3631, allocations: 63.92 kB / 1.09 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.3632, allocations: 19.97 kB / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.3632, allocations: 11.98 kB / 1.09 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004356/0.3637, allocations: 391.1 kB / 1.09 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3637, allocations: 0 / 1.09 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004173/0.3641, allocations: 104 kB / 1.09 GB, free: 3.465 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.0003085/0.3644, allocations: 149.4 kB / 1.09 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.3668, allocations: 0.9673 MB / 1.091 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3668, allocations: 7.938 kB / 1.091 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.3679, allocations: 415.6 kB / 1.092 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.3684, allocations: 105.1 kB / 1.092 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.3709, allocations: 1.064 MB / 1.093 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.3713, allocations: 0.8617 MB / 1.094 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0005226/0.3719, allocations: 126.9 kB / 1.094 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.3721, allocations: 43.39 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.3721, allocations: 0 / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of Templates: time 0.01455/0.3866, allocations: 8.774 MB / 1.102 GB, free: 6.988 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)