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.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001541/0.001541, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.367/1.367, allocations: 205.1 MB / 222 MB, free: 5.004 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.593/1.593, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001276/0.001276, allocations: 66.95 kB / 0.6709 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1724, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00354/0.176, allocations: 2.941 MB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.1785, allocations: 2.245 MB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.1786, allocations: 4 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.1792, allocations: 239.1 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.1793, allocations: 71.41 kB / 0.7882 GB, free: 8.352 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.0008019/0.1801, allocations: 452.3 kB / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.1805, allocations: 486.6 kB / 0.7891 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1806, allocations: 56.64 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.1808, allocations: 179.5 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.181, allocations: 207.2 kB / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.84e-05/0.1811, allocations: 24 kB / 0.7895 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.1814, allocations: 231.7 kB / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1816, allocations: 151.6 kB / 0.7899 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.1817, allocations: 198.9 kB / 0.7901 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.1823, allocations: 0.7361 MB / 0.7908 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1824, allocations: 4 kB / 0.7908 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.72e-07/0.1824, allocations: 0 / 0.7908 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.1824, allocations: 0 / 0.7908 GB, free: 5.668 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.00113/0.1835, allocations: 0.8322 MB / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.1835, allocations: 12.03 kB / 0.7916 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.1836, allocations: 54.67 kB / 0.7917 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.1855, allocations: 224.1 kB / 0.7919 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.186, allocations: 433.9 kB / 0.7923 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.1861, allocations: 95.62 kB / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.1861, allocations: 12 kB / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1873, allocations: 0.5273 MB / 0.7929 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1873, allocations: 4 kB / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.1873, allocations: 4 kB / 0.7929 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.1873, allocations: 15.98 kB / 0.7929 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.1892, allocations: 0.7533 MB / 0.7937 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.1911, allocations: 1.276 MB / 0.7949 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00501/0.1961, allocations: 1.012 MB / 0.7959 GB, free: 252 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008966/0.197, allocations: 396.6 kB / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1971, allocations: 7.938 kB / 0.7963 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.1981, allocations: 0.5357 MB / 0.7968 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.1981, allocations: 0 / 0.7968 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.002842/0.201, allocations: 1.169 MB / 0.798 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.201, allocations: 59.41 kB / 0.798 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.2015, allocations: 0.5252 MB / 0.7985 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.2016, allocations: 37.64 kB / 0.7986 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.2018, allocations: 200.4 kB / 0.7988 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.2018, allocations: 71.09 kB / 0.7988 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.202, allocations: 65.66 kB / 0.7989 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2021, allocations: 354.7 kB / 0.7992 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009926/0.2031, allocations: 472.5 kB / 0.7997 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2041, allocations: 0.4962 MB / 0.8002 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.2058, allocations: 0.7507 MB / 0.8009 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2059, allocations: 0 / 0.8009 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002152/0.208, allocations: 1.096 MB / 0.802 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.2081, allocations: 41.69 kB / 0.802 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.2081, allocations: 4 kB / 0.802 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2081, allocations: 4 kB / 0.802 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.2086, allocations: 79.89 kB / 0.8021 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2087, allocations: 8 kB / 0.8021 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.2091, allocations: 59.78 kB / 0.8022 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.2092, allocations: 15.97 kB / 0.8022 GB, free: 9.734 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 (22): * Single equations (assignments): 21 * 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.0002238/0.2094, allocations: 221.7 kB / 0.8024 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/0.2095, allocations: 43.47 kB / 0.8024 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/0.2096, allocations: 43.92 kB / 0.8025 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2096, allocations: 4 kB / 0.8025 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2096, allocations: 0 / 0.8025 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2096, allocations: 3.984 kB / 0.8025 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.2102, allocations: 0.6455 MB / 0.8031 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2102, allocations: 3.938 kB / 0.8031 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.2108, allocations: 91.89 kB / 0.8032 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2108, allocations: 3.938 kB / 0.8032 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.2108, allocations: 11.92 kB / 0.8032 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2108, allocations: 0 / 0.8032 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2108, allocations: 4 kB / 0.8032 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.2127, allocations: 0.8359 MB / 0.804 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.213, allocations: 192.3 kB / 0.8042 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.213, allocations: 8 kB / 0.8042 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.2136, allocations: 63.91 kB / 0.8043 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.2136, allocations: 27.97 kB / 0.8043 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.2137, allocations: 15.97 kB / 0.8043 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003609/0.2141, allocations: 395 kB / 0.8047 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2141, allocations: 0 / 0.8047 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003413/0.2144, allocations: 96 kB / 0.8048 GB, free: 6.949 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 (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.002361/0.2168, allocations: 1.43 MB / 0.8062 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.2188, allocations: 0.9362 MB / 0.8071 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2188, allocations: 0 / 0.8071 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009603/0.2198, allocations: 427.6 kB / 0.8075 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.2202, allocations: 89.78 kB / 0.8076 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.2314, allocations: 7.472 MB / 0.8149 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.2318, allocations: 0.8658 MB / 0.8157 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005/0.2323, allocations: 122.9 kB / 0.8159 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.2326, allocations: 139.4 kB / 0.816 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.2326, allocations: 0 / 0.816 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.452/2.684, allocations: 12.6 MB / 0.8283 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004063/2.685, allocations: 281.5 kB / 0.8286 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/4.706, allocations: 0 / 0.8286 GB, free: 14.64 MB / 0.6544 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/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)