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.001102/0.001102, 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.001136/0.001136, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.348/1.348, allocations: 205.1 MB / 222 MB, free: 4.762 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.588/1.588, 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.001335/0.001335, allocations: 72.19 kB / 0.671 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2225, 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.CoolingCapacityAirCooled): time 0.003862/0.2264, allocations: 2.403 MB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.2288, allocations: 1.867 MB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.619e-05/0.2289, allocations: 4 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.2295, allocations: 215.2 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.649e-05/0.2296, allocations: 51.55 kB / 0.7872 GB, free: 9.312 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.0008372/0.2305, allocations: 383 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.2309, allocations: 378.8 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.231, allocations: 44.33 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.2312, allocations: 139.6 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.2314, allocations: 147.5 kB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.2314, allocations: 24 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.2318, allocations: 231.6 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.232, allocations: 103.7 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.2321, allocations: 163.2 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.2327, allocations: 0.5842 MB / 0.7894 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2327, allocations: 0 / 0.7894 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.11e-07/0.2327, allocations: 0 / 0.7894 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.2327, allocations: 0 / 0.7894 GB, free: 7.152 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.2339, allocations: 0.7138 MB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2339, allocations: 8.031 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.234, allocations: 46.73 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.2356, allocations: 160.4 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.2361, allocations: 366.3 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-05/0.2362, allocations: 75.7 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.2362, allocations: 15.94 kB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009661/0.2372, allocations: 435.5 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2372, allocations: 0 / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.2372, allocations: 0 / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2372, allocations: 4 kB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.2388, allocations: 0.5855 MB / 0.7917 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.2405, allocations: 1.054 MB / 0.7927 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005/0.2455, allocations: 0.8573 MB / 0.7936 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.2462, allocations: 304.7 kB / 0.7938 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2462, allocations: 0 / 0.7938 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009345/0.2472, allocations: 446.1 kB / 0.7943 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.2472, allocations: 0 / 0.7943 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002309/0.2495, allocations: 0.9226 MB / 0.7952 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.2495, allocations: 59.34 kB / 0.7952 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/0.25, allocations: 433.6 kB / 0.7956 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.25, allocations: 33.7 kB / 0.7957 GB, free: 464 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.2502, allocations: 179.9 kB / 0.7958 GB, free: 280 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.2502, allocations: 55.3 kB / 0.7959 GB, free: 224 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.2504, allocations: 45.69 kB / 0.7959 GB, free: 172 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2505, allocations: 350.8 kB / 0.7963 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/0.2513, allocations: 384.6 kB / 0.7966 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/0.2521, allocations: 371.7 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.2535, allocations: 0.5985 MB / 0.7976 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2535, allocations: 0 / 0.7976 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001783/0.2553, allocations: 0.9085 MB / 0.7985 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.2554, allocations: 45.69 kB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2554, allocations: 0 / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2554, allocations: 0 / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.2558, allocations: 67.86 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2559, allocations: 3.938 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.2562, allocations: 43.8 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.2563, allocations: 11.98 kB / 0.7986 GB, free: 13.37 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.0002123/0.2565, allocations: 191.5 kB / 0.7988 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.2566, allocations: 39.56 kB / 0.7989 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.2566, allocations: 43.45 kB / 0.7989 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2567, allocations: 0 / 0.7989 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2567, allocations: 3.938 kB / 0.7989 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2567, allocations: 4 kB / 0.7989 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.2572, allocations: 0.5438 MB / 0.7994 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2572, allocations: 0 / 0.7994 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.2577, allocations: 67.84 kB / 0.7995 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2577, allocations: 4 kB / 0.7995 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.2577, allocations: 11.98 kB / 0.7995 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2577, allocations: 4 kB / 0.7995 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2577, allocations: 3.938 kB / 0.7995 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.2593, allocations: 0.6526 MB / 0.8002 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.2595, allocations: 164.6 kB / 0.8003 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.2595, allocations: 12 kB / 0.8003 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.2599, allocations: 39.94 kB / 0.8004 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.26, allocations: 23.91 kB / 0.8004 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.2601, allocations: 11.98 kB / 0.8004 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003032/0.2604, allocations: 319.1 kB / 0.8007 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2604, allocations: 4 kB / 0.8007 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003561/0.2607, allocations: 80.25 kB / 0.8008 GB, free: 11.07 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.002049/0.2628, allocations: 1.252 MB / 0.802 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.2644, allocations: 0.7683 MB / 0.8028 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2645, allocations: 0 / 0.8028 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007418/0.2652, allocations: 331.6 kB / 0.8031 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.2657, allocations: 73.45 kB / 0.8031 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009357/0.275, allocations: 6.187 MB / 0.8092 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.2754, allocations: 0.8141 MB / 0.81 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004274/0.2758, allocations: 98.25 kB / 0.8101 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.2761, allocations: 99.38 kB / 0.8102 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of SimCode: time 6.92e-07/0.2761, allocations: 0 / 0.8102 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.165/2.441, allocations: 10.26 MB / 0.8202 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/2.442, allocations: 283.3 kB / 0.8205 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/4.659, allocations: 0 / 0.8205 GB, free: 6.938 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)