Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001093/0.001093, allocations: 187.7 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.4 MB / 0.6305 GB, free: 9.953 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.0009072/0.0009072, allocations: 86.88 kB / 0.7439 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004167, allocations: 12.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2337, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002168/0.2359, allocations: 1.909 MB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2379, allocations: 1.623 MB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.238, allocations: 4 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000689/0.2387, allocations: 215.1 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.2389, allocations: 75.78 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.24, allocations: 358.6 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.2403, allocations: 259.5 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2405, allocations: 36.39 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.2406, allocations: 135.6 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2408, allocations: 139.5 kB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.2408, allocations: 16 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.2411, allocations: 211.6 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2413, allocations: 99.75 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.2413, allocations: 81.52 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.2417, allocations: 459.1 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2418, allocations: 4 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2418, allocations: 0 / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2418, allocations: 0 / 0.9849 GB, free: 21.98 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.0009361/0.2427, allocations: 0.664 MB / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2428, allocations: 15.95 kB / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.2428, allocations: 38.56 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.2444, allocations: 175.4 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.2448, allocations: 353.2 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-05/0.2449, allocations: 71.39 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.2449, allocations: 15.98 kB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008873/0.2458, allocations: 453.2 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2458, allocations: 3.984 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.2459, allocations: 8 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2459, allocations: 3.953 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.2473, allocations: 0.6206 MB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.2489, allocations: 1.047 MB / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004651/0.2535, allocations: 0.9081 MB / 0.9892 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2536, allocations: 11.88 kB / 0.9892 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008453/0.2544, allocations: 464.8 kB / 0.9896 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.394e-06/0.2544, allocations: 0 / 0.9896 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002229/0.2567, allocations: 0.9773 MB / 0.9906 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2567, allocations: 55.41 kB / 0.9907 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.2571, allocations: 429.6 kB / 0.9911 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.2571, allocations: 33.64 kB / 0.9911 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2573, allocations: 180 kB / 0.9913 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.2573, allocations: 43.36 kB / 0.9913 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.2573, allocations: 4 kB / 0.9913 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.2574, allocations: 354.8 kB / 0.9916 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.2582, allocations: 400.5 kB / 0.992 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/0.2589, allocations: 399.6 kB / 0.9924 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.2597, allocations: 370.9 kB / 0.9928 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2597, allocations: 0 / 0.9928 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001657/0.2613, allocations: 0.9488 MB / 0.9937 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.2614, allocations: 45.69 kB / 0.9937 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2614, allocations: 0 / 0.9937 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2614, allocations: 0 / 0.9937 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.2619, allocations: 79.86 kB / 0.9938 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2619, allocations: 0 / 0.9938 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.2623, allocations: 47.89 kB / 0.9939 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.2623, allocations: 23.97 kB / 0.9939 GB, free: 12.55 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.0002288/0.2625, allocations: 186.5 kB / 0.9941 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.2626, allocations: 39.52 kB / 0.9941 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.28e-05/0.2627, allocations: 35.47 kB / 0.9941 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2627, allocations: 4 kB / 0.9941 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2627, allocations: 0 / 0.9941 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2627, allocations: 0 / 0.9941 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.2632, allocations: 0.5555 MB / 0.9947 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.2632, allocations: 3.938 kB / 0.9947 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.2636, allocations: 79.91 kB / 0.9948 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2636, allocations: 4 kB / 0.9948 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.2637, allocations: 7.984 kB / 0.9948 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2637, allocations: 4 kB / 0.9948 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2637, allocations: 4 kB / 0.9948 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.2651, allocations: 0.7006 MB / 0.9955 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.2653, allocations: 160.7 kB / 0.9956 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.2654, allocations: 11.94 kB / 0.9956 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.2658, allocations: 59.94 kB / 0.9957 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.2659, allocations: 19.97 kB / 0.9957 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.2659, allocations: 7.984 kB / 0.9957 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002493/0.2661, allocations: 315.1 kB / 0.996 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2662, allocations: 4 kB / 0.996 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003316/0.2665, allocations: 92.17 kB / 0.9961 GB, free: 10.18 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.001999/0.2685, allocations: 1.292 MB / 0.9974 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.2701, allocations: 0.7968 MB / 0.9981 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2701, allocations: 0 / 0.9981 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007112/0.2708, allocations: 347.7 kB / 0.9985 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.2712, allocations: 72.09 kB / 0.9985 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/0.2765, allocations: 3.754 MB / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.2767, allocations: 0.8259 MB / 1.003 GB, free: 3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003993/0.2771, allocations: 102.2 kB / 1.003 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.2773, allocations: 99.38 kB / 1.003 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.2773, allocations: 0 / 1.003 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.3005, allocations: 9.794 MB / 1.013 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/0.3008, allocations: 267.8 kB / 1.013 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.479, allocations: 0 / 1.013 GB, free: 8.926 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)