Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.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.DryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",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.941/2.941, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001574/0.001574, allocations: 175.5 kB / 370.8 MB, free: 10.83 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.098/2.098, 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.001158/0.001158, allocations: 92.27 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005023, allocations: 13.77 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil): time 0.003988/0.2266, allocations: 2.728 MB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005049/0.2317, allocations: 2.847 MB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.2321, allocations: 7.938 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.2345, allocations: 0.6116 MB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.2348, allocations: 115.7 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.237, allocations: 0.5575 MB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.2387, allocations: 1.024 MB / 0.986 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.2391, allocations: 227.8 kB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.2396, allocations: 470.5 kB / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.2402, allocations: 486.2 kB / 0.9871 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.2404, allocations: 60 kB / 0.9872 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.2417, allocations: 0.5032 MB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004937/0.2422, allocations: 466.7 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.2425, allocations: 328.8 kB / 0.9884 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.2451, allocations: 2.505 MB / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2451, allocations: 0 / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2451, allocations: 0 / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.576e-05/0.2452, allocations: 0 / 0.9909 GB, free: 15.32 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003568/0.2487, allocations: 1.725 MB / 0.9926 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2488, allocations: 12.02 kB / 0.9926 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.249, allocations: 74.53 kB / 0.9927 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.2592, allocations: 0.6691 MB / 0.9933 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.2618, allocations: 1.17 MB / 0.9945 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.262, allocations: 132 kB / 0.9946 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.2622, allocations: 28 kB / 0.9946 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005575/0.2678, allocations: 1.911 MB / 0.9965 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2679, allocations: 3.938 kB / 0.9965 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.2681, allocations: 15.94 kB / 0.9965 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.2681, allocations: 8 kB / 0.9965 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008818/0.2769, allocations: 2.657 MB / 0.9991 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.2879, allocations: 4.267 MB / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/0.3059, allocations: 2.975 MB / 1.006 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.3061, allocations: 24.41 kB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006188/0.3123, allocations: 1.788 MB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=61): time 5.29e-06/0.3123, allocations: 0 / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=61): time 0.01541/0.3278, allocations: 3.772 MB / 1.012 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.3279, allocations: 97.64 kB / 1.012 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005529/0.3335, allocations: 2.286 MB / 1.014 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000452/0.334, allocations: 53.69 kB / 1.014 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.3351, allocations: 0.6731 MB / 1.015 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.3355, allocations: 181.5 kB / 1.015 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.3357, allocations: 8 kB / 1.015 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3358, allocations: 330 kB / 1.015 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00512/0.341, allocations: 1.474 MB / 1.017 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005057/0.3461, allocations: 1.457 MB / 1.018 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004773/0.3509, allocations: 1.235 MB / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3509, allocations: 3.953 kB / 1.019 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.01119/0.3621, allocations: 3.014 MB / 1.022 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.3623, allocations: 87.36 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3624, allocations: 4 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3624, allocations: 4 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/0.365, allocations: 191.7 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.365, allocations: 7.938 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.3674, allocations: 123.5 kB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.3676, allocations: 39.95 kB / 1.023 GB, free: 14.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.001909/0.3696, allocations: 0.7724 MB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005515/0.3701, allocations: 169.9 kB / 1.024 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.381, allocations: 2.711 MB / 1.026 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.381, allocations: 8 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3811, allocations: 0 / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.3811, allocations: 7.922 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/0.3858, allocations: 2.154 MB / 1.028 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.3859, allocations: 0 / 1.028 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/0.3886, allocations: 195.7 kB / 1.028 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.3886, allocations: 0 / 1.028 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00022/0.3888, allocations: 39.94 kB / 1.029 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3889, allocations: 0 / 1.029 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3889, allocations: 4 kB / 1.029 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.3991, allocations: 2.586 MB / 1.031 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/0.4008, allocations: 0.5104 MB / 1.032 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005987/0.4015, allocations: 55.98 kB / 1.032 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/0.4045, allocations: 151.8 kB / 1.032 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/0.4048, allocations: 64.41 kB / 1.032 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/0.4051, allocations: 43.94 kB / 1.032 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0045/0.4096, allocations: 1.661 MB / 1.033 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4097, allocations: 0 / 1.033 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002017/0.4117, allocations: 351.8 kB / 1.034 GB, free: 2.902 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.012/0.4238, allocations: 3.313 MB / 1.037 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01069/0.4345, allocations: 3.02 MB / 1.04 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.4346, allocations: 0 / 1.04 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005188/0.4398, allocations: 1.373 MB / 1.041 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.4426, allocations: 378.5 kB / 1.042 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06723/0.5099, allocations: 18.07 MB / 1.059 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/0.512, allocations: 1.603 MB / 1.061 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003476/0.5156, allocations: 466.5 kB / 1.061 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001975/0.5176, allocations: 0.5343 MB / 1.062 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of SimCode: time 3.838e-06/0.5176, allocations: 4 kB / 1.062 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7392/1.257, allocations: 42.43 MB / 1.103 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/1.257, allocations: 238.6 kB / 1.104 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.1/5.357, allocations: 1.562 kB / 1.104 GB, free: 76.39 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)