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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",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.0009329/0.0009329, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001075/0.001075, allocations: 168.7 kB / 15.95 MB, free: 204 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.466/1.466, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.742/1.742, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0007372/0.0007375, allocations: 18.84 kB / 0.6739 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2577, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002677/0.2604, allocations: 1.988 MB / 0.7894 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.2631, allocations: 1.732 MB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2632, allocations: 3.938 kB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.2639, allocations: 187 kB / 0.7912 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.264, allocations: 55.55 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.0009404/0.2649, allocations: 373.1 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.2653, allocations: 338.8 kB / 0.792 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.2654, allocations: 32.39 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.2656, allocations: 139.6 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.2658, allocations: 147.5 kB / 0.7923 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.2659, allocations: 16 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.2663, allocations: 215.7 kB / 0.7925 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.2664, allocations: 107.7 kB / 0.7926 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.753e-05/0.2665, allocations: 77.58 kB / 0.7927 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.267, allocations: 467.1 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.267, allocations: 0 / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.267, allocations: 0 / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2671, allocations: 0 / 0.7931 GB, free: 5.945 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.001127/0.2682, allocations: 0.6594 MB / 0.7938 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2682, allocations: 8.031 kB / 0.7938 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.2683, allocations: 42.56 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.2698, allocations: 179.3 kB / 0.794 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.2702, allocations: 353.3 kB / 0.7943 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.2704, allocations: 75.38 kB / 0.7944 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.2705, allocations: 8 kB / 0.7944 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009477/0.2714, allocations: 453.2 kB / 0.7948 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2715, allocations: 4 kB / 0.7948 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.2715, allocations: 4 kB / 0.7948 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2715, allocations: 11.89 kB / 0.7948 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.2729, allocations: 0.6245 MB / 0.7955 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.2746, allocations: 1.043 MB / 0.7965 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004464/0.2791, allocations: 0.9197 MB / 0.7974 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.2798, allocations: 332.6 kB / 0.7977 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.2798, allocations: 4 kB / 0.7977 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009727/0.2808, allocations: 467 kB / 0.7981 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.2808, allocations: 0 / 0.7981 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00233/0.2831, allocations: 0.98 MB / 0.7991 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2832, allocations: 51.41 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.2837, allocations: 429.6 kB / 0.7996 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.2837, allocations: 33.7 kB / 0.7996 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2839, allocations: 184 kB / 0.7998 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.2839, allocations: 43.34 kB / 0.7998 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.284, allocations: 8 kB / 0.7998 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2841, allocations: 346.6 kB / 0.8001 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/0.285, allocations: 404.6 kB / 0.8005 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/0.2857, allocations: 394.5 kB / 0.8009 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.2865, allocations: 377.4 kB / 0.8013 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2865, allocations: 0 / 0.8013 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001816/0.2883, allocations: 0.9553 MB / 0.8022 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.2884, allocations: 44.75 kB / 0.8022 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2884, allocations: 0 / 0.8022 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2884, allocations: 4 kB / 0.8022 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.2888, allocations: 75.92 kB / 0.8023 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2888, allocations: 0 / 0.8023 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.2892, allocations: 51.89 kB / 0.8024 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.2892, allocations: 15.98 kB / 0.8024 GB, free: 12.18 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.0002189/0.2894, allocations: 193.7 kB / 0.8026 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.2895, allocations: 35.53 kB / 0.8026 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.2896, allocations: 39.45 kB / 0.8026 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2896, allocations: 4 kB / 0.8026 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2896, allocations: 0 / 0.8026 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2896, allocations: 4 kB / 0.8026 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.2902, allocations: 0.5438 MB / 0.8032 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2902, allocations: 0 / 0.8032 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.2906, allocations: 79.91 kB / 0.8033 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2906, allocations: 0 / 0.8033 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.2907, allocations: 7.984 kB / 0.8033 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2907, allocations: 0 / 0.8033 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2907, allocations: 0 / 0.8033 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.2923, allocations: 0.7032 MB / 0.8039 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.2925, allocations: 164.7 kB / 0.8041 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.2925, allocations: 4 kB / 0.8041 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.293, allocations: 67.94 kB / 0.8042 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.293, allocations: 19.97 kB / 0.8042 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.2931, allocations: 11.98 kB / 0.8042 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003207/0.2934, allocations: 315.1 kB / 0.8045 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2934, allocations: 3.938 kB / 0.8045 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004008/0.2938, allocations: 88.19 kB / 0.8046 GB, free: 9.824 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.002112/0.2959, allocations: 1.304 MB / 0.8059 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.2975, allocations: 0.7952 MB / 0.8066 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2976, allocations: 4 kB / 0.8066 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.2983, allocations: 343.7 kB / 0.807 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.2988, allocations: 77.45 kB / 0.807 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.3052, allocations: 3.802 MB / 0.8108 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.3057, allocations: 0.8142 MB / 0.8116 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000445/0.3062, allocations: 106.2 kB / 0.8117 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.3064, allocations: 99.38 kB / 0.8117 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of SimCode: time 7.12e-07/0.3064, allocations: 0 / 0.8117 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.3301, allocations: 9.818 MB / 0.8213 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.3303, allocations: 267.6 kB / 0.8216 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.279, allocations: 0 / 0.8216 GB, free: 8.496 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) Environment - environmentSimulation: