Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.579/2.579, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 179.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009322/0.000932, allocations: 100.9 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006464/0.0006466, allocations: 18.12 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2753, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.004533/0.2799, allocations: 1.984 MB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.285, allocations: 1.713 MB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.2854, allocations: 4 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.2867, allocations: 207 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.287, allocations: 51.55 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.002578/0.2896, allocations: 370.4 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008288/0.2905, allocations: 332 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.2908, allocations: 44.36 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.2912, allocations: 139.6 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.2916, allocations: 135.6 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.2917, allocations: 20 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009333/0.2927, allocations: 227.6 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.293, allocations: 99.75 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.2931, allocations: 81.52 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.2942, allocations: 467.1 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2942, allocations: 0 / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2943, allocations: 4 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.2943, allocations: 0 / 0.9842 GB, free: 22.39 MB / 0.6198 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.002092/0.2964, allocations: 0.6555 MB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.2965, allocations: 12.02 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.2967, allocations: 50.5 kB / 0.9849 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/0.3009, allocations: 167.4 kB / 0.985 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009974/0.302, allocations: 361.2 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.3022, allocations: 75.39 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.775e-05/0.3024, allocations: 8 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.305, allocations: 461.2 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3051, allocations: 0 / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.3052, allocations: 3.953 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3052, allocations: 4 kB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00405/0.3093, allocations: 0.6246 MB / 0.9865 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.3136, allocations: 1.043 MB / 0.9875 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/0.3268, allocations: 0.9081 MB / 0.9884 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.3289, allocations: 332.7 kB / 0.9887 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.329, allocations: 0 / 0.9887 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002476/0.3315, allocations: 474.9 kB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 6.843e-06/0.3316, allocations: 0 / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.006536/0.3382, allocations: 0.9714 MB / 0.9901 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.3383, allocations: 63.41 kB / 0.9902 GB, free: 16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3393, allocations: 429.6 kB / 0.9906 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.3395, allocations: 33.7 kB / 0.9906 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.3398, allocations: 172 kB / 0.9908 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.34, allocations: 51.34 kB / 0.9908 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.3401, allocations: 0 / 0.9908 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3402, allocations: 350.8 kB / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.3425, allocations: 412.5 kB / 0.9916 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.3448, allocations: 393.2 kB / 0.9919 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.347, allocations: 373.5 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.3471, allocations: 0 / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.005105/0.3522, allocations: 0.9454 MB / 0.9932 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.3524, allocations: 45.69 kB / 0.9933 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3524, allocations: 0 / 0.9933 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.3525, allocations: 3.984 kB / 0.9933 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.3537, allocations: 75.86 kB / 0.9933 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.3538, allocations: 4 kB / 0.9933 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.3549, allocations: 59.88 kB / 0.9934 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.3551, allocations: 7.984 kB / 0.9934 GB, free: 12.64 MB / 0.6198 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.0005353/0.3557, allocations: 189.7 kB / 0.9936 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.3559, allocations: 43.53 kB / 0.9936 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.356, allocations: 39.47 kB / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3561, allocations: 0 / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3561, allocations: 4 kB / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3561, allocations: 0 / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.3573, allocations: 0.5515 MB / 0.9942 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.3574, allocations: 0 / 0.9942 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.3586, allocations: 79.8 kB / 0.9943 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.3587, allocations: 0 / 0.9943 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.3588, allocations: 11.98 kB / 0.9943 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3588, allocations: 3.938 kB / 0.9943 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3588, allocations: 0 / 0.9943 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004406/0.3633, allocations: 0.7013 MB / 0.995 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.3638, allocations: 164.7 kB / 0.9951 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.364, allocations: 8 kB / 0.9952 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.3653, allocations: 63.94 kB / 0.9952 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.3656, allocations: 19.97 kB / 0.9952 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/0.3657, allocations: 7.984 kB / 0.9952 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007636/0.3665, allocations: 323 kB / 0.9956 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.482e-06/0.3665, allocations: 0 / 0.9956 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009097/0.3674, allocations: 88.17 kB / 0.9956 GB, free: 10.27 MB / 0.6198 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.005333/0.3728, allocations: 1.296 MB / 0.9969 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004666/0.3776, allocations: 0.8022 MB / 0.9977 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.3776, allocations: 0 / 0.9977 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.3798, allocations: 343.7 kB / 0.998 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3811, allocations: 77.44 kB / 0.9981 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.3973, allocations: 3.816 MB / 1.002 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.3978, allocations: 0.8181 MB / 1.003 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001237/0.3991, allocations: 94.25 kB / 1.003 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.3997, allocations: 99.38 kB / 1.003 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of SimCode: time 1.973e-06/0.3997, allocations: 4 kB / 1.003 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04357/0.4433, allocations: 9.807 MB / 1.012 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004718/0.4438, allocations: 282.3 kB / 1.013 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/3.59, allocations: 3.125 kB / 1.013 GB, free: 8.914 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)