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.ApparatusDryPoint.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.ApparatusDryPoint,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",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.68/1.68, allocations: 288.4 MB / 303.3 MB, free: 8.25 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.001016/0.001016, allocations: 188.5 kB / 372 MB, free: 10.27 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.507/1.507, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.000746/0.0007462, allocations: 86.42 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 13.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1911, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002686/0.1939, allocations: 2.411 MB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5704/0.7643, allocations: 140.4 MB / 1.119 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.7647, allocations: 7 kB / 1.119 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.7661, allocations: 470.2 kB / 1.12 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.7675, allocations: 487.5 kB / 1.12 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.769, allocations: 465.5 kB / 1.121 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.7702, allocations: 1.054 MB / 1.122 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.7705, allocations: 187.1 kB / 1.122 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.771, allocations: 416.3 kB / 1.122 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008024/0.7718, allocations: 0.5502 MB / 1.123 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.772, allocations: 57.22 kB / 1.123 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.7738, allocations: 0.8266 MB / 1.124 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.7741, allocations: 333 kB / 1.124 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.7743, allocations: 272.2 kB / 1.124 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.7764, allocations: 2.138 MB / 1.126 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7764, allocations: 1.094 kB / 1.126 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7764, allocations: 0 / 1.126 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.7764, allocations: 0 / 1.126 GB, free: 1.375 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002884/0.7793, allocations: 1.829 MB / 1.128 GB, free: 16.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7794, allocations: 8.344 kB / 1.128 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.7794, allocations: 46.69 kB / 1.128 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/0.7951, allocations: 2.183 MB / 1.13 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/0.7981, allocations: 1.304 MB / 1.131 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.7981, allocations: 19.09 kB / 1.131 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.7982, allocations: 23.16 kB / 1.131 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005168/0.8034, allocations: 1.232 MB / 1.133 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8034, allocations: 4 kB / 1.133 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.8035, allocations: 6.688 kB / 1.133 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.8035, allocations: 4.656 kB / 1.133 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00938/0.8129, allocations: 2.059 MB / 1.135 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.8233, allocations: 3.656 MB / 1.138 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.8334, allocations: 2.17 MB / 1.14 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004767/0.8382, allocations: 1.044 MB / 1.141 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006995/0.8389, allocations: 0.5227 MB / 1.142 GB, free: 10.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004863/0.8438, allocations: 1.174 MB / 1.143 GB, free: 10.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 4.999e-06/0.8438, allocations: 0 / 1.143 GB, free: 10.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.01599/0.8598, allocations: 3.304 MB / 1.146 GB, free: 9.285 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.8599, allocations: 114.2 kB / 1.146 GB, free: 9.156 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005613/0.8656, allocations: 2.39 MB / 1.149 GB, free: 8.543 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002411/0.8658, allocations: 35.7 kB / 1.149 GB, free: 8.512 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/0.8665, allocations: 0.5506 MB / 1.149 GB, free: 8.379 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.8667, allocations: 73.98 kB / 1.149 GB, free: 8.324 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.8668, allocations: 12.5 kB / 1.149 GB, free: 8.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8669, allocations: 320.2 kB / 1.15 GB, free: 8.012 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005021/0.872, allocations: 1.169 MB / 1.151 GB, free: 7.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005152/0.8771, allocations: 1.199 MB / 1.152 GB, free: 7.289 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004552/0.8817, allocations: 1.087 MB / 1.153 GB, free: 6.949 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.8817, allocations: 0 / 1.153 GB, free: 6.949 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0121/0.8938, allocations: 2.891 MB / 1.156 GB, free: 5.953 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.894, allocations: 133.1 kB / 1.156 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.894, allocations: 0 / 1.156 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003788/0.8978, allocations: 0.796 MB / 1.157 GB, free: 5.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/0.9009, allocations: 0.4893 MB / 1.157 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008983/0.9099, allocations: 7.426 MB / 1.165 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/0.9139, allocations: 470 kB / 1.165 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.9142, allocations: 32.97 kB / 1.165 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.9142, allocations: 8.078 kB / 1.165 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01092/0.9252, allocations: 2.615 MB / 1.168 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9252, allocations: 0 / 1.168 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/0.9275, allocations: 0.6318 MB / 1.168 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/0.9308, allocations: 495.4 kB / 1.169 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/0.9366, allocations: 6.179 MB / 1.175 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/0.9403, allocations: 457.9 kB / 1.175 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.9405, allocations: 29.02 kB / 1.175 GB, free: 8.184 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001283/0.9418, allocations: 0.6769 MB / 1.176 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006067/0.9424, allocations: 140.2 kB / 1.176 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/0.9529, allocations: 2.335 MB / 1.178 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.9529, allocations: 4 kB / 1.178 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.9529, allocations: 1.859 kB / 1.178 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.9529, allocations: 3.953 kB / 1.178 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.9553, allocations: 1.226 MB / 1.179 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.9554, allocations: 4 kB / 1.179 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/0.9583, allocations: 446.7 kB / 1.18 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.9583, allocations: 0 / 1.18 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.9584, allocations: 23.22 kB / 1.18 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.9584, allocations: 0 / 1.18 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9584, allocations: 0 / 1.18 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.9687, allocations: 2.257 MB / 1.182 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.9698, allocations: 416.7 kB / 1.183 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005075/0.9704, allocations: 7.562 kB / 1.183 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003382/0.9738, allocations: 402.4 kB / 1.183 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.9739, allocations: 26.34 kB / 1.183 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.974, allocations: 23.97 kB / 1.183 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003479/0.9775, allocations: 1.711 MB / 1.185 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.6e-07/0.9775, allocations: 0 / 1.185 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002583/0.9801, allocations: 0.5476 MB / 1.185 GB, free: 252 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.01131/0.9914, allocations: 2.923 MB / 1.188 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01869/1.01, allocations: 4.987 MB / 1.193 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.01, allocations: 0 / 1.193 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005169/1.015, allocations: 1.144 MB / 1.194 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.018, allocations: 320.3 kB / 1.194 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06234/1.08, allocations: 16.12 MB / 1.21 GB, free: 9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/1.082, allocations: 1.395 MB / 1.211 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002252/1.084, allocations: 386.7 kB / 1.212 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.085, allocations: 431.2 kB / 1.212 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/1.085, allocations: 0 / 1.212 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07258/1.158, allocations: 39.72 MB / 1.251 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/1.158, allocations: 260.9 kB / 1.251 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/4.235, allocations: 0 / 1.251 GB, free: 15.09 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)