Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001811/0.001811, allocations: 177.3 kB / 15.95 MB, free: 208 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.757/1.757, allocations: 205.4 MB / 222.1 MB, free: 5.902 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.971/1.971, allocations: 292.6 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.0005625/0.0005627, allocations: 16.53 kB / 0.6737 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.299, allocations: 116.3 MB / 0.7873 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003008/0.302, allocations: 2.347 MB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.3052, allocations: 1.955 MB / 0.7915 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.3054, allocations: 4 kB / 0.7915 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000795/0.3062, allocations: 251.1 kB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.3064, allocations: 83.77 kB / 0.7918 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3075, allocations: 421.3 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004687/0.308, allocations: 335.3 kB / 0.7925 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3081, allocations: 44.72 kB / 0.7925 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3084, allocations: 167.5 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.3086, allocations: 195.3 kB / 0.7929 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.3087, allocations: 27.94 kB / 0.7929 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.3091, allocations: 211.8 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.3092, allocations: 143.6 kB / 0.7932 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.3093, allocations: 93.52 kB / 0.7933 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.3099, allocations: 0.573 MB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3099, allocations: 0 / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3099, allocations: 0 / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3099, allocations: 0 / 0.7939 GB, free: 5.016 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001527/0.3115, allocations: 0.7816 MB / 0.7947 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3115, allocations: 8.031 kB / 0.7947 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.088e-05/0.3116, allocations: 46.55 kB / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.3138, allocations: 247.2 kB / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006872/0.3145, allocations: 405 kB / 0.7953 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.3147, allocations: 83.39 kB / 0.7954 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.3148, allocations: 12 kB / 0.7954 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3161, allocations: 0.5596 MB / 0.796 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3161, allocations: 0 / 0.796 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.3161, allocations: 4 kB / 0.796 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3161, allocations: 4 kB / 0.796 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.3182, allocations: 0.8235 MB / 0.7968 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.3207, allocations: 1.277 MB / 0.798 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00673/0.3274, allocations: 1.088 MB / 0.7991 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.3275, allocations: 7.969 kB / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.329, allocations: 0.5551 MB / 0.7996 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.715e-06/0.3291, allocations: 0 / 0.7996 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003444/0.3325, allocations: 1.267 MB / 0.8009 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3326, allocations: 55.75 kB / 0.8009 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.3333, allocations: 0.5174 MB / 0.8014 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/0.3334, allocations: 33.7 kB / 0.8015 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3335, allocations: 208.4 kB / 0.8017 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.3336, allocations: 67.09 kB / 0.8017 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.3337, allocations: 0 / 0.8017 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3338, allocations: 354.8 kB / 0.8021 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.335, allocations: 496.5 kB / 0.8025 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.3363, allocations: 0.517 MB / 0.8031 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3374, allocations: 465.4 kB / 0.8035 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3374, allocations: 3.938 kB / 0.8035 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002778/0.3402, allocations: 1.153 MB / 0.8046 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.3402, allocations: 37.69 kB / 0.8047 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3403, allocations: 0 / 0.8047 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3403, allocations: 4 kB / 0.8047 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.3409, allocations: 103.9 kB / 0.8048 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3409, allocations: 3.938 kB / 0.8048 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.3415, allocations: 75.88 kB / 0.8048 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.3416, allocations: 19.92 kB / 0.8049 GB, free: 9.516 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 (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.0003628/0.3419, allocations: 221.7 kB / 0.8051 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.342, allocations: 43.44 kB / 0.8051 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.672e-05/0.3421, allocations: 47.92 kB / 0.8052 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3421, allocations: 0 / 0.8052 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3421, allocations: 3.984 kB / 0.8052 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3421, allocations: 0 / 0.8052 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007934/0.3429, allocations: 0.6494 MB / 0.8058 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3429, allocations: 0 / 0.8058 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/0.3436, allocations: 103.8 kB / 0.8059 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3436, allocations: 4 kB / 0.8059 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.3437, allocations: 11.98 kB / 0.8059 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3437, allocations: 0 / 0.8059 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3437, allocations: 4 kB / 0.8059 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.3459, allocations: 0.8866 MB / 0.8068 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.3462, allocations: 192.5 kB / 0.807 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.3463, allocations: 11.98 kB / 0.807 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.3469, allocations: 75.92 kB / 0.807 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/0.347, allocations: 23.95 kB / 0.8071 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.3471, allocations: 19.92 kB / 0.8071 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004354/0.3475, allocations: 387.1 kB / 0.8075 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3475, allocations: 0 / 0.8075 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004159/0.3479, allocations: 100 kB / 0.8076 GB, free: 6.656 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 (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.002865/0.3508, allocations: 1.492 MB / 0.809 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.3533, allocations: 0.9909 MB / 0.81 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3533, allocations: 4 kB / 0.81 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.3544, allocations: 454.4 kB / 0.8104 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.355, allocations: 85.84 kB / 0.8105 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008895/0.3639, allocations: 4.658 MB / 0.815 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.3643, allocations: 0.8658 MB / 0.8159 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005641/0.3649, allocations: 130.9 kB / 0.816 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.3652, allocations: 131.4 kB / 0.8161 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/0.3652, allocations: 0 / 0.8161 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.3917, allocations: 12.09 MB / 0.8279 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.3919, allocations: 259.3 kB / 0.8282 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.661, allocations: 0 / 0.8282 GB, free: 1.609 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) Environment - environmentSimulation: