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.0009984/0.0009984, allocations: 108 kB / 15.61 MB, free: 152 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.001013/0.001013, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.263/1.263, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.566/1.566, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001395/0.001395, allocations: 69.81 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1766, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003464/0.1801, allocations: 2.361 MB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1825, allocations: 1.851 MB / 0.7876 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1827, allocations: 4 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.1834, allocations: 227 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.1835, allocations: 63.42 kB / 0.7879 GB, free: 8.844 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.0009808/0.1845, allocations: 433.9 kB / 0.7883 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.185, allocations: 406.3 kB / 0.7887 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1851, allocations: 40.39 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1853, allocations: 159.5 kB / 0.7889 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1855, allocations: 147.5 kB / 0.789 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.1856, allocations: 28 kB / 0.789 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.1859, allocations: 247.7 kB / 0.7893 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1861, allocations: 115.7 kB / 0.7894 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.1862, allocations: 171.1 kB / 0.7896 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.1868, allocations: 0.596 MB / 0.7901 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1868, allocations: 4 kB / 0.7901 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1868, allocations: 0 / 0.7901 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.1868, allocations: 0 / 0.7901 GB, free: 6.539 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.001014/0.1879, allocations: 0.706 MB / 0.7908 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1879, allocations: 16.02 kB / 0.7908 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.188, allocations: 42.69 kB / 0.7909 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.1896, allocations: 164.4 kB / 0.791 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.19, allocations: 358.3 kB / 0.7914 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.086e-05/0.1901, allocations: 75.7 kB / 0.7915 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.1902, allocations: 4 kB / 0.7915 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009624/0.1911, allocations: 444.1 kB / 0.7919 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1912, allocations: 4 kB / 0.7919 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.1912, allocations: 7.922 kB / 0.7919 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1912, allocations: 0 / 0.7919 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.1927, allocations: 0.5816 MB / 0.7925 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.1944, allocations: 1.05 MB / 0.7935 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004776/0.1991, allocations: 0.8494 MB / 0.7943 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/0.1999, allocations: 312.6 kB / 0.7946 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1999, allocations: 11.92 kB / 0.7946 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009089/0.2008, allocations: 439 kB / 0.795 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.2008, allocations: 0 / 0.795 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002314/0.2031, allocations: 0.9187 MB / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.2032, allocations: 59.34 kB / 0.796 GB, free: 328 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.2036, allocations: 433.6 kB / 0.7964 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.2037, allocations: 29.7 kB / 0.7964 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.2038, allocations: 180 kB / 0.7966 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.2038, allocations: 47.3 kB / 0.7967 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.204, allocations: 57.61 kB / 0.7967 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2041, allocations: 346.8 kB / 0.797 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.2049, allocations: 380.6 kB / 0.7974 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.2057, allocations: 375.7 kB / 0.7978 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.2072, allocations: 0.5919 MB / 0.7983 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2072, allocations: 4 kB / 0.7983 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001831/0.209, allocations: 0.9075 MB / 0.7992 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.2091, allocations: 45.69 kB / 0.7993 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2091, allocations: 4 kB / 0.7993 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2091, allocations: 0 / 0.7993 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.2096, allocations: 59.92 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2096, allocations: 3.938 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.21, allocations: 55.78 kB / 0.7994 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.21, allocations: 11.98 kB / 0.7994 GB, free: 12.77 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.0001924/0.2102, allocations: 194.4 kB / 0.7996 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.2103, allocations: 31.62 kB / 0.7996 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.2103, allocations: 39.47 kB / 0.7997 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2103, allocations: 4 kB / 0.7997 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2104, allocations: 7.938 kB / 0.7997 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2104, allocations: 0 / 0.7997 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.2109, allocations: 0.5515 MB / 0.8002 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2109, allocations: 0 / 0.8002 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.2113, allocations: 59.92 kB / 0.8003 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2113, allocations: 0 / 0.8003 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.2113, allocations: 15.98 kB / 0.8003 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2114, allocations: 0 / 0.8003 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2114, allocations: 3.938 kB / 0.8003 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.2129, allocations: 0.6592 MB / 0.8009 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.2131, allocations: 164.6 kB / 0.8011 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.2132, allocations: 8 kB / 0.8011 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.2136, allocations: 47.94 kB / 0.8011 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.2137, allocations: 19.91 kB / 0.8012 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.2137, allocations: 15.98 kB / 0.8012 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002772/0.214, allocations: 315.1 kB / 0.8015 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.214, allocations: 4 kB / 0.8015 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003251/0.2143, allocations: 76.25 kB / 0.8015 GB, free: 10.48 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.002018/0.2163, allocations: 1.253 MB / 0.8028 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.218, allocations: 0.784 MB / 0.8035 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2181, allocations: 0 / 0.8035 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.2188, allocations: 327.7 kB / 0.8038 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.2192, allocations: 91.02 kB / 0.8039 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008738/0.228, allocations: 6.138 MB / 0.8099 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.2283, allocations: 0.8103 MB / 0.8107 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003893/0.2287, allocations: 98.25 kB / 0.8108 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.2289, allocations: 99.38 kB / 0.8109 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.2289, allocations: 0 / 0.8109 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.096/3.324, allocations: 10.77 MB / 0.8214 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.438/12.76, allocations: 8.188 kB / 0.8214 GB, free: 6.215 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/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)