Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 88.44 kB / 19.96 MB, free: 4.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002283/0.002283, allocations: 169.2 kB / 23.23 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.658/1.658, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.328/3.328, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.865e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004806/0.004835, allocations: 2.705 MB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003813/0.008648, allocations: 2.079 MB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.008773, allocations: 7.875 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.00962, allocations: 230.6 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.009808, allocations: 91.16 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.01105, allocations: 494.2 kB / 1.007 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007067/0.01176, allocations: 0.5257 MB / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.01188, allocations: 32.84 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.01224, allocations: 271.5 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.01254, allocations: 179.6 kB / 1.008 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-05/0.01263, allocations: 36 kB / 1.008 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005693/0.0132, allocations: 267.5 kB / 1.008 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.01343, allocations: 167.5 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.01364, allocations: 139.7 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.01478, allocations: 0.8102 MB / 1.009 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.01479, allocations: 0 / 1.009 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01479, allocations: 0 / 1.009 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.0148, allocations: 0 / 1.009 GB, free: 4.969 MB / 0.9636 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.001654/0.01645, allocations: 0.7721 MB / 1.01 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.0165, allocations: 13.64 kB / 1.01 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/0.01903, allocations: 268.3 kB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.01981, allocations: 375.8 kB / 1.01 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.01999, allocations: 139.3 kB / 1.01 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.02006, allocations: 16.38 kB / 1.01 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.02148, allocations: 0.5368 MB / 1.011 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.02149, allocations: 4.125 kB / 1.011 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.02153, allocations: 12.12 kB / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.02154, allocations: 4 kB / 1.011 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.02379, allocations: 0.7912 MB / 1.012 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.02646, allocations: 1.144 MB / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005595/0.03205, allocations: 1.033 MB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.03318, allocations: 408.6 kB / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.03321, allocations: 0 / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.03462, allocations: 0.5421 MB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.03462, allocations: 0 / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of matching and sorting (n=21): time 0.003661/0.03828, allocations: 1.244 MB / 1.016 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.03834, allocations: 59.34 kB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.03904, allocations: 0.5175 MB / 1.017 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.03911, allocations: 33.7 kB / 1.017 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.03931, allocations: 200.5 kB / 1.017 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.03941, allocations: 67.42 kB / 1.017 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.03959, allocations: 77.58 kB / 1.017 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003372/0.03992, allocations: 354.8 kB / 1.017 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.04117, allocations: 0.4896 MB / 1.018 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.04248, allocations: 0.571 MB / 1.018 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.04465, allocations: 0.7971 MB / 1.019 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.04466, allocations: 0 / 1.019 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002785/0.04744, allocations: 1.153 MB / 1.02 GB, free: 9.133 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.0475, allocations: 45.69 kB / 1.02 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.04751, allocations: 0 / 1.02 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.04753, allocations: 4 kB / 1.02 GB, free: 9.078 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.04825, allocations: 95.81 kB / 1.02 GB, free: 8.984 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.04826, allocations: 4 kB / 1.02 GB, free: 8.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.04885, allocations: 67.77 kB / 1.02 GB, free: 8.914 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.04891, allocations: 15.97 kB / 1.02 GB, free: 8.898 MB / 0.9792 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.000306/0.04922, allocations: 215.8 kB / 1.021 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.361e-05/0.04931, allocations: 51.66 kB / 1.021 GB, free: 8.629 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.388e-05/0.04941, allocations: 55.98 kB / 1.021 GB, free: 8.578 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.04941, allocations: 0 / 1.021 GB, free: 8.578 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.04942, allocations: 4 kB / 1.021 GB, free: 8.574 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.04942, allocations: 0 / 1.021 GB, free: 8.574 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.05015, allocations: 0.5125 MB / 1.021 GB, free: 8.031 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.05015, allocations: 3.938 kB / 1.021 GB, free: 8.027 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/0.05085, allocations: 95.88 kB / 1.021 GB, free: 7.934 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.05085, allocations: 0 / 1.021 GB, free: 7.934 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.0509, allocations: 7.984 kB / 1.021 GB, free: 7.926 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.0509, allocations: 4 kB / 1.021 GB, free: 7.922 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.0509, allocations: 0 / 1.021 GB, free: 7.922 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.05328, allocations: 0.8893 MB / 1.022 GB, free: 7.016 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.05354, allocations: 119.6 kB / 1.022 GB, free: 6.898 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.567e-05/0.05361, allocations: 4 kB / 1.022 GB, free: 6.895 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/0.05421, allocations: 63.92 kB / 1.022 GB, free: 6.832 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.05432, allocations: 27.95 kB / 1.022 GB, free: 6.805 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.05436, allocations: 11.98 kB / 1.022 GB, free: 6.793 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004965/0.05485, allocations: 399 kB / 1.023 GB, free: 6.402 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.1e-08/0.05485, allocations: 0 / 1.023 GB, free: 6.402 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004167/0.05527, allocations: 95.94 kB / 1.023 GB, free: 6.309 MB / 0.9792 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.0003158/0.05559, allocations: 139.1 kB / 1.023 GB, free: 6.164 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.05832, allocations: 0.9848 MB / 1.024 GB, free: 5.16 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.05832, allocations: 0 / 1.024 GB, free: 5.16 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.05954, allocations: 430 kB / 1.024 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.06004, allocations: 97.72 kB / 1.025 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.06274, allocations: 1.071 MB / 1.026 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.06304, allocations: 253.2 kB / 1.026 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005201/0.06356, allocations: 134.9 kB / 1.026 GB, free: 3.145 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.06375, allocations: 52.44 kB / 1.026 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of SimCode: time 7.71e-07/0.06375, allocations: 4 kB / 1.026 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of Templates: time 0.01837/0.08213, allocations: 9.443 MB / 1.035 GB, free: 9.77 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.564078667201102]