Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 99.78 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.001087/0.001087, allocations: 177.3 kB / 15.95 MB, free: 216 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.457/1.457, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.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.0004777/0.0004778, allocations: 21.62 kB / 0.6736 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2154, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002201/0.2177, allocations: 1.91 MB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2198, allocations: 1.623 MB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.2199, allocations: 0 / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.2205, allocations: 215.2 kB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2206, allocations: 75.72 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.2214, allocations: 364.9 kB / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.2218, allocations: 255.5 kB / 0.7915 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2219, allocations: 40.38 kB / 0.7915 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.222, allocations: 131.6 kB / 0.7916 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2222, allocations: 147.5 kB / 0.7918 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.2223, allocations: 16 kB / 0.7918 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.2226, allocations: 207.7 kB / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.2227, allocations: 107.7 kB / 0.7921 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.2228, allocations: 73.58 kB / 0.7921 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.2232, allocations: 463.1 kB / 0.7926 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.2232, allocations: 4 kB / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2232, allocations: 0 / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2233, allocations: 3.938 kB / 0.7926 GB, free: 6.316 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001007/0.2243, allocations: 0.6594 MB / 0.7932 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.2243, allocations: 12.03 kB / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.2259, allocations: 167.3 kB / 0.7934 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.2264, allocations: 353.3 kB / 0.7937 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.2265, allocations: 79.38 kB / 0.7938 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.2265, allocations: 4 kB / 0.7938 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/0.2275, allocations: 453.3 kB / 0.7943 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2275, allocations: 3.938 kB / 0.7943 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.2276, allocations: 8 kB / 0.7943 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.2276, allocations: 0 / 0.7943 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.2291, allocations: 0.6283 MB / 0.7949 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.2308, allocations: 1.047 MB / 0.7959 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004661/0.2355, allocations: 0.9189 MB / 0.7968 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2355, allocations: 3.984 kB / 0.7968 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009192/0.2364, allocations: 463 kB / 0.7972 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.2364, allocations: 0 / 0.7972 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002322/0.2388, allocations: 0.9811 MB / 0.7982 GB, free: 384 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2388, allocations: 59.41 kB / 0.7983 GB, free: 312 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.2393, allocations: 429.7 kB / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.2393, allocations: 37.64 kB / 0.7987 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.2394, allocations: 168.1 kB / 0.7989 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.2395, allocations: 51.3 kB / 0.7989 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.2395, allocations: 4 kB / 0.7989 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2397, allocations: 342.8 kB / 0.7992 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/0.2405, allocations: 408.6 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.2413, allocations: 390.5 kB / 0.8 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/0.2421, allocations: 381.3 kB / 0.8004 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2421, allocations: 0 / 0.8004 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00184/0.244, allocations: 0.9475 MB / 0.8013 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.244, allocations: 48.66 kB / 0.8013 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.244, allocations: 0 / 0.8013 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2441, allocations: 0 / 0.8013 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.2445, allocations: 71.92 kB / 0.8014 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2445, allocations: 4 kB / 0.8014 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2449, allocations: 55.88 kB / 0.8015 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.2449, allocations: 11.98 kB / 0.8015 GB, free: 12.95 MB / 0.6231 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 (17): * Single equations (assignments): 16 * 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.000232/0.2452, allocations: 196.1 kB / 0.8017 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.2452, allocations: 39.53 kB / 0.8017 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.2453, allocations: 43.47 kB / 0.8017 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.2453, allocations: 0 / 0.8017 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2453, allocations: 0 / 0.8017 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2453, allocations: 4 kB / 0.8018 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.2459, allocations: 0.5476 MB / 0.8023 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2459, allocations: 0 / 0.8023 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.2463, allocations: 83.78 kB / 0.8024 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2463, allocations: 0 / 0.8024 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.2464, allocations: 11.98 kB / 0.8024 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2464, allocations: 0 / 0.8024 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2464, allocations: 4 kB / 0.8024 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.2479, allocations: 0.71 MB / 0.8031 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.2481, allocations: 160.7 kB / 0.8032 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.2482, allocations: 4 kB / 0.8032 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.2486, allocations: 63.94 kB / 0.8033 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.2487, allocations: 19.95 kB / 0.8033 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.2487, allocations: 11.98 kB / 0.8033 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002943/0.249, allocations: 315.1 kB / 0.8036 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2491, allocations: 0 / 0.8036 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003481/0.2494, allocations: 84.23 kB / 0.8037 GB, free: 10.59 MB / 0.6231 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 (16): * Single equations (assignments): 14 * 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.0003496/0.2498, allocations: 153 kB / 0.8038 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.2515, allocations: 0.7996 MB / 0.8046 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2515, allocations: 0 / 0.8046 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007659/0.2523, allocations: 343.7 kB / 0.805 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.2526, allocations: 77.39 kB / 0.805 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.2542, allocations: 0.8836 MB / 0.8059 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.2545, allocations: 0.8145 MB / 0.8067 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.2549, allocations: 102.2 kB / 0.8068 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.255, allocations: 31.41 kB / 0.8068 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.255, allocations: 4 kB / 0.8068 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of Templates: time 0.01001/0.265, allocations: 6.475 MB / 0.8131 GB, free: 0.9492 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) Environment - environmentSimulation: