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 2.675/2.675, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001282/0.001282, allocations: 189.9 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.001407/0.001406, allocations: 92.97 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005044, allocations: 14 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003469/0.2185, allocations: 2.467 MB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003643/0.2222, allocations: 2.074 MB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.2225, allocations: 4 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.2235, allocations: 222.9 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2237, allocations: 67.45 kB / 0.9832 GB, free: 23.41 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.001581/0.2253, allocations: 430.7 kB / 0.9836 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006094/0.2259, allocations: 434.6 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2261, allocations: 48.94 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.2263, allocations: 183.5 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.2266, allocations: 183.4 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.78e-05/0.2267, allocations: 24 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.2273, allocations: 235.6 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.2275, allocations: 135.7 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.984e-05/0.2276, allocations: 93.52 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006649/0.2283, allocations: 0.5728 MB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2283, allocations: 3.938 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2283, allocations: 0 / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2283, allocations: 0 / 0.9854 GB, free: 21.1 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.001653/0.23, allocations: 0.7777 MB / 0.9862 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.2301, allocations: 16.02 kB / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/0.2301, allocations: 42.56 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.2335, allocations: 247.2 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.2343, allocations: 405.1 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.2345, allocations: 83.31 kB / 0.987 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.2346, allocations: 12 kB / 0.987 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.2366, allocations: 0.561 MB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2366, allocations: 0 / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.2367, allocations: 4 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2367, allocations: 11.95 kB / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/0.2402, allocations: 0.8275 MB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.2436, allocations: 1.281 MB / 0.9896 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009293/0.253, allocations: 1.088 MB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.2548, allocations: 427.2 kB / 0.9911 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.2548, allocations: 0 / 0.9911 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001981/0.2568, allocations: 0.5667 MB / 0.9916 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.645e-06/0.2569, allocations: 0 / 0.9916 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.005331/0.2622, allocations: 1.267 MB / 0.9928 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.2623, allocations: 59.41 kB / 0.9929 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.2631, allocations: 0.5135 MB / 0.9934 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.2632, allocations: 37.7 kB / 0.9934 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.2634, allocations: 196.4 kB / 0.9936 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.2635, allocations: 67.09 kB / 0.9937 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.2636, allocations: 4 kB / 0.9937 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.2637, allocations: 354.8 kB / 0.994 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.2655, allocations: 0.4888 MB / 0.9945 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.2674, allocations: 0.5208 MB / 0.995 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.2692, allocations: 457.4 kB / 0.9955 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2692, allocations: 0 / 0.9955 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00403/0.2732, allocations: 1.147 MB / 0.9966 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/0.2733, allocations: 41.69 kB / 0.9966 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2733, allocations: 0 / 0.9966 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.2734, allocations: 4 kB / 0.9966 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.2745, allocations: 111.8 kB / 0.9967 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2745, allocations: 0 / 0.9967 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009667/0.2755, allocations: 79.77 kB / 0.9968 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.2756, allocations: 15.98 kB / 0.9968 GB, free: 9.16 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.0003882/0.276, allocations: 213.7 kB / 0.997 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.2761, allocations: 43.44 kB / 0.9971 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.2762, allocations: 55.91 kB / 0.9971 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2762, allocations: 0 / 0.9971 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.2762, allocations: 11.89 kB / 0.9971 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2762, allocations: 0 / 0.9971 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008459/0.2771, allocations: 0.6415 MB / 0.9978 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2771, allocations: 4 kB / 0.9978 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.2782, allocations: 103.9 kB / 0.9979 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2782, allocations: 0 / 0.9979 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.2783, allocations: 15.97 kB / 0.9979 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.2783, allocations: 11.89 kB / 0.9979 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2783, allocations: 0 / 0.9979 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.2819, allocations: 0.8867 MB / 0.9987 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003207/0.2822, allocations: 188.4 kB / 0.9989 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.2823, allocations: 8 kB / 0.9989 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009886/0.2833, allocations: 79.92 kB / 0.999 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.2835, allocations: 27.91 kB / 0.999 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.2835, allocations: 11.98 kB / 0.9991 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005838/0.2841, allocations: 391.1 kB / 0.9994 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2841, allocations: 0 / 0.9994 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005936/0.2848, allocations: 99.98 kB / 0.9995 GB, free: 6.293 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.00419/0.289, allocations: 1.491 MB / 1.001 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003718/0.2927, allocations: 0.9948 MB / 1.002 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2928, allocations: 0 / 1.002 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.2945, allocations: 455 kB / 1.002 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008324/0.2954, allocations: 97.8 kB / 1.002 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.309, allocations: 4.721 MB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.3097, allocations: 0.8619 MB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001137/0.3108, allocations: 130.9 kB / 1.008 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/0.3113, allocations: 131.4 kB / 1.008 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/0.3114, allocations: 0 / 1.008 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04394/0.3553, allocations: 12.11 MB / 1.02 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000381/0.3558, allocations: 269.9 kB / 1.02 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/3.361, allocations: 0 / 1.02 GB, free: 1.137 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)