Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.651/1.651, allocations: 287.4 MB / 302.6 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 184.2 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007867/0.0007867, allocations: 92.52 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003969, allocations: 17.12 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2112, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002709/0.2139, allocations: 2.471 MB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.2166, allocations: 2.077 MB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.2169, allocations: 0 / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.2177, allocations: 226.9 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.2179, allocations: 67.42 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.2191, allocations: 434.6 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.2196, allocations: 443.5 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2198, allocations: 60.92 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.22, allocations: 179.5 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.2203, allocations: 187.4 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.554e-05/0.2204, allocations: 24 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.2208, allocations: 223.7 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.221, allocations: 147.6 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.2211, allocations: 89.52 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.2217, allocations: 0.5728 MB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2217, allocations: 0 / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2217, allocations: 0 / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.2217, allocations: 0 / 0.9857 GB, free: 20.89 MB / 0.6198 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.001206/0.2229, allocations: 0.774 MB / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.223, allocations: 8.031 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.83e-05/0.2231, allocations: 50.73 kB / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/0.2251, allocations: 240.2 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.2258, allocations: 433.9 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.2259, allocations: 87.62 kB / 0.9873 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.226, allocations: 12 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.2272, allocations: 0.5532 MB / 0.9878 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2272, allocations: 3.938 kB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.2272, allocations: 12 kB / 0.9878 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2272, allocations: 0 / 0.9878 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.2291, allocations: 0.8275 MB / 0.9886 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.2311, allocations: 1.277 MB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004731/0.2358, allocations: 1.098 MB / 0.991 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008723/0.2367, allocations: 424.6 kB / 0.9914 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2367, allocations: 0 / 0.9914 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.2378, allocations: 0.5614 MB / 0.9919 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.2378, allocations: 0 / 0.9919 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.002905/0.2407, allocations: 1.269 MB / 0.9932 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.2408, allocations: 55.41 kB / 0.9932 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.2413, allocations: 0.5174 MB / 0.9937 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.2414, allocations: 33.7 kB / 0.9937 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.2415, allocations: 192.5 kB / 0.9939 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.2416, allocations: 71 kB / 0.994 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.2416, allocations: 4 kB / 0.994 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.2417, allocations: 358.8 kB / 0.9943 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009853/0.2427, allocations: 0.4887 MB / 0.9948 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009957/0.2437, allocations: 0.517 MB / 0.9953 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.2454, allocations: 0.8145 MB / 0.9961 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2455, allocations: 0 / 0.9961 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002142/0.2476, allocations: 1.135 MB / 0.9972 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.2477, allocations: 45.62 kB / 0.9973 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2477, allocations: 3.984 kB / 0.9973 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2477, allocations: 4 kB / 0.9973 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.2483, allocations: 103.8 kB / 0.9974 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2483, allocations: 4 kB / 0.9974 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.2488, allocations: 79.72 kB / 0.9975 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.2489, allocations: 19.97 kB / 0.9975 GB, free: 8.57 MB / 0.6198 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.0002351/0.2491, allocations: 213.8 kB / 0.9977 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.2492, allocations: 47.38 kB / 0.9977 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.2493, allocations: 51.92 kB / 0.9978 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2493, allocations: 0 / 0.9978 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2493, allocations: 4 kB / 0.9978 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2493, allocations: 11.98 kB / 0.9978 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.2498, allocations: 0.6492 MB / 0.9984 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2498, allocations: 0 / 0.9984 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005653/0.2504, allocations: 111.8 kB / 0.9985 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2504, allocations: 3.938 kB / 0.9985 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.2505, allocations: 7.984 kB / 0.9985 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2505, allocations: 4 kB / 0.9986 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2505, allocations: 0 / 0.9986 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.2523, allocations: 0.8828 MB / 0.9994 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.2525, allocations: 192.4 kB / 0.9996 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.2526, allocations: 8 kB / 0.9996 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/0.2531, allocations: 91.84 kB / 0.9997 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.2532, allocations: 19.97 kB / 0.9997 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.2533, allocations: 15.97 kB / 0.9997 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000354/0.2536, allocations: 387.1 kB / 1 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2537, allocations: 0 / 1 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003773/0.254, allocations: 92 kB / 1 GB, free: 5.703 MB / 0.6198 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.002374/0.2564, allocations: 1.496 MB / 1.002 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.2584, allocations: 0.991 MB / 1.003 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2584, allocations: 4 kB / 1.003 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009244/0.2593, allocations: 458.9 kB / 1.003 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.2598, allocations: 82.56 kB / 1.003 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008077/0.2679, allocations: 4.721 MB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.2684, allocations: 0.858 MB / 1.009 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005688/0.269, allocations: 134.9 kB / 1.009 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.2692, allocations: 131.4 kB / 1.009 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.2692, allocations: 4 kB / 1.009 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4538/0.723, allocations: 12.11 MB / 1.021 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003468/0.7234, allocations: 266.9 kB / 1.021 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.259, allocations: 3.266 kB / 1.021 GB, free: 0.5508 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)