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.672/2.672, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001575/0.001575, allocations: 194.9 kB / 370.8 MB, free: 10.86 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.13/2.13, allocations: 205.4 MB / 0.6295 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.00121/0.001209, allocations: 97.31 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.000501, allocations: 14.02 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2303, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003004/0.2333, allocations: 1.906 MB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003222/0.2366, allocations: 1.635 MB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.2369, allocations: 0 / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000914/0.2378, allocations: 215.2 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.238, allocations: 63.86 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.2395, allocations: 371 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.2401, allocations: 255.5 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2402, allocations: 40.38 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.2404, allocations: 131.6 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2406, allocations: 135.6 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.2407, allocations: 16 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.2412, allocations: 215.6 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.2414, allocations: 103.8 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.2415, allocations: 81.5 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.242, allocations: 455.2 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2421, allocations: 4 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2421, allocations: 4 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2421, allocations: 0 / 0.9838 GB, free: 22.68 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.001354/0.2435, allocations: 0.6633 MB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2435, allocations: 12.02 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.973e-05/0.2436, allocations: 42.52 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00269/0.2463, allocations: 167.4 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.247, allocations: 353.2 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.2472, allocations: 79.38 kB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.2473, allocations: 8 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.2489, allocations: 461.2 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.249, allocations: 0 / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.249, allocations: 3.953 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2491, allocations: 0 / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.2517, allocations: 0.6245 MB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.2544, allocations: 1.043 MB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008834/0.2633, allocations: 0.912 MB / 0.988 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.2634, allocations: 0 / 0.988 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.2651, allocations: 474.9 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.237e-06/0.2651, allocations: 0 / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.004165/0.2693, allocations: 0.9753 MB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.2694, allocations: 55.41 kB / 0.9895 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/0.27, allocations: 429.6 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/0.2701, allocations: 33.7 kB / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.2703, allocations: 180 kB / 0.9901 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.903e-05/0.2704, allocations: 51.28 kB / 0.9901 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.2705, allocations: 4 kB / 0.9901 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.2706, allocations: 346.8 kB / 0.9905 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.272, allocations: 412.5 kB / 0.9908 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.2734, allocations: 397.8 kB / 0.9912 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.2748, allocations: 369.5 kB / 0.9916 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2748, allocations: 0 / 0.9916 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003286/0.2781, allocations: 0.9499 MB / 0.9925 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.2782, allocations: 41.69 kB / 0.9925 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2783, allocations: 0 / 0.9925 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.2783, allocations: 4 kB / 0.9925 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/0.2791, allocations: 75.86 kB / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2792, allocations: 4 kB / 0.9926 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.2799, allocations: 51.88 kB / 0.9927 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.28, allocations: 15.98 kB / 0.9927 GB, free: 13.27 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.0003481/0.2804, allocations: 193.7 kB / 0.9929 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.2805, allocations: 35.53 kB / 0.9929 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.397e-05/0.2806, allocations: 39.47 kB / 0.9929 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2806, allocations: 0 / 0.9929 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2806, allocations: 0 / 0.9929 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2806, allocations: 0 / 0.9929 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006913/0.2813, allocations: 0.5515 MB / 0.9935 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2813, allocations: 4 kB / 0.9935 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.2822, allocations: 83.86 kB / 0.9936 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2822, allocations: 3.938 kB / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.2823, allocations: 7.984 kB / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2823, allocations: 0 / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2823, allocations: 0 / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.2851, allocations: 0.7032 MB / 0.9943 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.2854, allocations: 160.7 kB / 0.9944 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/0.2855, allocations: 8 kB / 0.9944 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/0.2864, allocations: 63.94 kB / 0.9945 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.2865, allocations: 19.89 kB / 0.9945 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.2866, allocations: 15.98 kB / 0.9945 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004864/0.2871, allocations: 311.1 kB / 0.9948 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2871, allocations: 0 / 0.9948 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005722/0.2876, allocations: 88.17 kB / 0.9949 GB, free: 10.89 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.003357/0.291, allocations: 1.3 MB / 0.9962 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002911/0.294, allocations: 0.7973 MB / 0.997 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.294, allocations: 0 / 0.997 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.2954, allocations: 347.7 kB / 0.9973 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.296, allocations: 73.5 kB / 0.9974 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009779/0.3058, allocations: 3.747 MB / 1.001 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3062, allocations: 0.822 MB / 1.002 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007551/0.307, allocations: 106.2 kB / 1.002 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.3073, allocations: 102 kB / 1.002 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.3073, allocations: 0 / 1.002 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.3466, allocations: 9.791 MB / 1.012 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00033/0.347, allocations: 264.6 kB / 1.012 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/3.169, allocations: 0 / 1.012 GB, free: 9.621 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)