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.001489/0.001489, allocations: 105.4 kB / 15.69 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 195.1 kB / 16.63 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.589/1.589, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001356/0.001356, allocations: 73.06 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2066, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003582/0.2102, allocations: 2.362 MB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.2127, allocations: 1.848 MB / 0.7878 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.2128, allocations: 4 kB / 0.7878 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006279/0.2135, allocations: 223 kB / 0.788 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.2136, allocations: 67.36 kB / 0.788 GB, free: 8.707 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.0009513/0.2146, allocations: 432.3 kB / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.215, allocations: 418.6 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2151, allocations: 36.41 kB / 0.7889 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.2152, allocations: 151.6 kB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.2154, allocations: 155.5 kB / 0.7892 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.2155, allocations: 28 kB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.2158, allocations: 239.7 kB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.216, allocations: 115.7 kB / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.2161, allocations: 175 kB / 0.7897 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.2167, allocations: 0.596 MB / 0.7903 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2167, allocations: 0 / 0.7903 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2167, allocations: 4 kB / 0.7903 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2167, allocations: 0 / 0.7903 GB, free: 6.398 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.001051/0.2178, allocations: 0.7099 MB / 0.791 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2178, allocations: 8.031 kB / 0.791 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.2179, allocations: 42.75 kB / 0.791 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.2196, allocations: 160.4 kB / 0.7912 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.22, allocations: 370.2 kB / 0.7915 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.653e-05/0.2201, allocations: 79.69 kB / 0.7916 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.2202, allocations: 8 kB / 0.7916 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009897/0.2212, allocations: 434.2 kB / 0.792 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2212, allocations: 4 kB / 0.792 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.2212, allocations: 4 kB / 0.792 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2212, allocations: 7.938 kB / 0.7921 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.2227, allocations: 0.5854 MB / 0.7926 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.2244, allocations: 1.05 MB / 0.7937 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004761/0.2292, allocations: 0.8456 MB / 0.7945 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/0.2299, allocations: 312.6 kB / 0.7948 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.2299, allocations: 7.938 kB / 0.7948 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009624/0.2309, allocations: 439 kB / 0.7952 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.2309, allocations: 4 kB / 0.7952 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002415/0.2333, allocations: 0.9138 MB / 0.7961 GB, free: 256 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2334, allocations: 59.34 kB / 0.7962 GB, free: 184 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.2338, allocations: 441.6 kB / 0.7966 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.2339, allocations: 33.7 kB / 0.7966 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.234, allocations: 172 kB / 0.7968 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.2341, allocations: 51.28 kB / 0.7968 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2342, allocations: 53.67 kB / 0.7969 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2343, allocations: 346.8 kB / 0.7972 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008264/0.2352, allocations: 380.6 kB / 0.7976 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.236, allocations: 374.4 kB / 0.7979 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.2375, allocations: 0.6037 MB / 0.7985 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2375, allocations: 0 / 0.7985 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001901/0.2394, allocations: 0.9072 MB / 0.7994 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.2394, allocations: 49.62 kB / 0.7994 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2395, allocations: 0 / 0.7994 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2395, allocations: 0 / 0.7994 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.2399, allocations: 67.91 kB / 0.7995 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.24, allocations: 3.938 kB / 0.7995 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.2404, allocations: 51.73 kB / 0.7996 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.2404, allocations: 11.98 kB / 0.7996 GB, free: 12.62 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 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.2406, allocations: 189.7 kB / 0.7998 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.2407, allocations: 31.62 kB / 0.7998 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/0.2408, allocations: 43.47 kB / 0.7998 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2408, allocations: 0 / 0.7998 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2408, allocations: 3.938 kB / 0.7998 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2408, allocations: 4 kB / 0.7998 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.2413, allocations: 0.5438 MB / 0.8004 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2413, allocations: 8 kB / 0.8004 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.2417, allocations: 55.92 kB / 0.8004 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.2417, allocations: 4 kB / 0.8004 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.2418, allocations: 7.984 kB / 0.8004 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2418, allocations: 4 kB / 0.8004 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2418, allocations: 7.938 kB / 0.8004 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.2434, allocations: 0.6525 MB / 0.8011 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.2436, allocations: 172.5 kB / 0.8013 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.2436, allocations: 7.984 kB / 0.8013 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.2441, allocations: 43.94 kB / 0.8013 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.2442, allocations: 23.92 kB / 0.8013 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.2442, allocations: 7.984 kB / 0.8013 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002905/0.2445, allocations: 323.1 kB / 0.8016 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2445, allocations: 0 / 0.8016 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003538/0.2449, allocations: 84.23 kB / 0.8017 GB, free: 10.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002075/0.2469, allocations: 1.255 MB / 0.8029 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.2487, allocations: 0.759 MB / 0.8037 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2487, allocations: 4 kB / 0.8037 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.2495, allocations: 327.7 kB / 0.804 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.2499, allocations: 83.33 kB / 0.8041 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008968/0.2589, allocations: 6.099 MB / 0.81 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.2592, allocations: 0.8065 MB / 0.8108 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003497/0.2596, allocations: 98.25 kB / 0.8109 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.2598, allocations: 107.4 kB / 0.811 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/0.2598, allocations: 0 / 0.811 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.2866, allocations: 10.78 MB / 0.8215 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.336, allocations: 4.188 kB / 0.8216 GB, free: 6.129 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-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)