Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001365/0.001365, allocations: 172.9 kB / 366.7 MB, free: 1.645 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.905/1.905, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009219/0.0009222, allocations: 93.42 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.853e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7813, allocations: 116.3 MB / 0.9734 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.265/6.046, allocations: 2.071 GB / 3.044 GB, free: 59.22 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/6.047, allocations: 96.72 kB / 3.044 GB, free: 59.13 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08501/6.132, allocations: 40.94 MB / 3.084 GB, free: 18.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.324e-06/6.132, allocations: 0 / 3.084 GB, free: 18.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.903e-05/6.132, allocations: 23.94 kB / 3.084 GB, free: 18.29 MB / 0.948 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.002051/6.134, allocations: 1.444 MB / 3.086 GB, free: 16.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/6.134, allocations: 8.031 kB / 3.086 GB, free: 16.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005672/6.14, allocations: 0.6473 MB / 3.086 GB, free: 16.13 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/6.142, allocations: 1.701 MB / 3.088 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/6.142, allocations: 132.1 kB / 3.088 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/6.143, allocations: 20 kB / 3.088 GB, free: 14.22 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003325/6.146, allocations: 2.805 MB / 3.091 GB, free: 11.42 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/6.148, allocations: 1.962 MB / 3.093 GB, free: 9.445 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/6.148, allocations: 3.984 kB / 3.093 GB, free: 9.441 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/6.148, allocations: 3.984 kB / 3.093 GB, free: 9.438 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/6.148, allocations: 11.95 kB / 3.093 GB, free: 9.426 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007986/6.156, allocations: 5.047 MB / 3.098 GB, free: 4.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007364/6.164, allocations: 3.099 MB / 3.101 GB, free: 1.223 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6146/6.778, allocations: 1.235 MB / 3.102 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/6.779, allocations: 13.75 kB / 3.102 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003699/6.782, allocations: 1.885 MB / 3.104 GB, free: 330 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.587e-06/6.782, allocations: 0.5 kB / 3.104 GB, free: 330 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.006415/6.789, allocations: 2.685 MB / 3.106 GB, free: 329.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/6.789, allocations: 97.12 kB / 3.107 GB, free: 329.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/6.794, allocations: 2.349 MB / 3.109 GB, free: 329.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005149/6.794, allocations: 44.5 kB / 3.109 GB, free: 329.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000731/6.795, allocations: 0.6551 MB / 3.11 GB, free: 329.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/6.795, allocations: 169.7 kB / 3.11 GB, free: 329.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/6.796, allocations: 2.031 kB / 3.11 GB, free: 329.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00014/6.796, allocations: 337.7 kB / 3.11 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/6.798, allocations: 1.579 MB / 3.112 GB, free: 329.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/6.8, allocations: 1.555 MB / 3.113 GB, free: 329.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/6.803, allocations: 1.445 MB / 3.114 GB, free: 329.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/6.803, allocations: 1.75 kB / 3.114 GB, free: 329.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007034/6.81, allocations: 3.358 MB / 3.118 GB, free: 328.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/6.81, allocations: 95.78 kB / 3.118 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/6.81, allocations: 0.9375 kB / 3.118 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/6.81, allocations: 2.656 kB / 3.118 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/6.812, allocations: 227.8 kB / 3.118 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/6.812, allocations: 3.969 kB / 3.118 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/6.814, allocations: 110.4 kB / 3.118 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/6.814, allocations: 116.2 kB / 3.118 GB, free: 328 MB / 0.948 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 () * 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.0006046/6.815, allocations: 172.7 kB / 3.118 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00634/6.821, allocations: 2.699 MB / 3.121 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007636/6.822, allocations: 171 kB / 3.121 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005999/6.828, allocations: 2.982 MB / 3.124 GB, free: 325.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/6.828, allocations: 9.453 kB / 3.124 GB, free: 325.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/6.828, allocations: 1.719 kB / 3.124 GB, free: 325.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/6.828, allocations: 2.391 kB / 3.124 GB, free: 325.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/6.832, allocations: 2.445 MB / 3.127 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/6.832, allocations: 0 / 3.127 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/6.834, allocations: 217.4 kB / 3.127 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/6.834, allocations: 5.875 kB / 3.127 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/6.834, allocations: 49.41 kB / 3.127 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/6.834, allocations: 2.312 kB / 3.127 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/6.834, allocations: 0 / 3.127 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00563/6.84, allocations: 2.763 MB / 3.13 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/6.842, allocations: 0.7723 MB / 3.13 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/6.842, allocations: 54.11 kB / 3.13 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/6.844, allocations: 142 kB / 3.13 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/6.844, allocations: 65.53 kB / 3.131 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/6.844, allocations: 114.5 kB / 3.131 GB, free: 323 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003401/6.848, allocations: 1.805 MB / 3.132 GB, free: 322.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.271e-05/6.848, allocations: 0 / 3.132 GB, free: 322.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002649/6.85, allocations: 436 kB / 3.133 GB, free: 322.3 MB / 0.948 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]) * 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.007057/6.857, allocations: 3.647 MB / 3.136 GB, free: 320.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005623/6.863, allocations: 3.195 MB / 3.139 GB, free: 319.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/6.863, allocations: 2.906 kB / 3.139 GB, free: 319.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/6.865, allocations: 1.407 MB / 3.141 GB, free: 318.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/6.869, allocations: 394.5 kB / 3.141 GB, free: 318.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/6.882, allocations: 4.143 MB / 3.145 GB, free: 317.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/6.884, allocations: 1.609 MB / 3.147 GB, free: 316.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003877/6.888, allocations: 0.8193 MB / 3.148 GB, free: 316.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/6.89, allocations: 0.5766 MB / 3.148 GB, free: 315.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.923e-06/6.89, allocations: 0 / 3.148 GB, free: 315.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08312/6.973, allocations: 45.39 MB / 3.193 GB, free: 293.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/6.973, allocations: 188.6 kB / 3.193 GB, free: 293.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.552/10.53, allocations: 0 / 3.193 GB, free: 293.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)