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.801/1.801, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001102/0.001101, allocations: 183.2 kB / 371.8 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.552/1.552, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0008239/0.0008238, allocations: 100.5 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003807, allocations: 13.22 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, 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.ApparatusDryPoint): time 0.002698/0.2047, allocations: 2.302 MB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5742/0.7789, allocations: 130.6 MB / 1.109 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.7794, allocations: 7.188 kB / 1.109 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.7812, allocations: 0.5907 MB / 1.11 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.7826, allocations: 495.3 kB / 1.11 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.784, allocations: 458.4 kB / 1.111 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.7851, allocations: 0.8483 MB / 1.112 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.7854, allocations: 176.8 kB / 1.112 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.7859, allocations: 377.2 kB / 1.112 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006995/0.7866, allocations: 0.4922 MB / 1.113 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.48e-05/0.7867, allocations: 36.31 kB / 1.113 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.7883, allocations: 0.7943 MB / 1.113 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.7886, allocations: 249.7 kB / 1.114 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.7888, allocations: 268.9 kB / 1.114 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.7907, allocations: 1.829 MB / 1.116 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7907, allocations: 0 / 1.116 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7908, allocations: 6.891 kB / 1.116 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.7908, allocations: 0 / 1.116 GB, free: 1.867 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.003016/0.7938, allocations: 1.745 MB / 1.117 GB, free: 16.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7938, allocations: 9.75 kB / 1.117 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.7939, allocations: 46.36 kB / 1.117 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.8092, allocations: 2.185 MB / 1.12 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.8111, allocations: 0.9697 MB / 1.121 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.8111, allocations: 15.03 kB / 1.121 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.8112, allocations: 22.38 kB / 1.121 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005013/0.8162, allocations: 1.234 MB / 1.122 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.8163, allocations: 3.984 kB / 1.122 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.8163, allocations: 7.344 kB / 1.122 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.8163, allocations: 2.812 kB / 1.122 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009219/0.8256, allocations: 2.065 MB / 1.124 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.8357, allocations: 3.275 MB / 1.127 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009979/0.8457, allocations: 2.186 MB / 1.129 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006527/0.8464, allocations: 448.3 kB / 1.13 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005144/0.8516, allocations: 1.171 MB / 1.131 GB, free: 12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.317e-06/0.8516, allocations: 0 / 1.131 GB, free: 12 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.01591/0.8675, allocations: 3.394 MB / 1.134 GB, free: 10.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.8676, allocations: 109.8 kB / 1.134 GB, free: 10.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/0.871, allocations: 2.007 MB / 1.136 GB, free: 10.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.8711, allocations: 34.73 kB / 1.136 GB, free: 10.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.8717, allocations: 0.5512 MB / 1.137 GB, free: 9.953 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.642e-05/0.8718, allocations: 62.81 kB / 1.137 GB, free: 9.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.8718, allocations: 11.5 kB / 1.137 GB, free: 9.906 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8719, allocations: 324.7 kB / 1.137 GB, free: 9.594 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005193/0.8771, allocations: 1.168 MB / 1.138 GB, free: 9.242 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005184/0.8823, allocations: 1.202 MB / 1.139 GB, free: 8.871 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004897/0.8873, allocations: 1.086 MB / 1.14 GB, free: 8.531 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.8873, allocations: 0 / 1.14 GB, free: 8.531 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01267/0.9, allocations: 2.892 MB / 1.143 GB, free: 7.531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.9001, allocations: 135.3 kB / 1.143 GB, free: 7.395 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9001, allocations: 0 / 1.143 GB, free: 7.395 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/0.9035, allocations: 0.7669 MB / 1.144 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003191/0.9067, allocations: 0.4948 MB / 1.145 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008548/0.9152, allocations: 7.541 MB / 1.152 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003575/0.9188, allocations: 460.3 kB / 1.152 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.919, allocations: 34.34 kB / 1.152 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.919, allocations: 4.938 kB / 1.152 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01082/0.9298, allocations: 2.615 MB / 1.155 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9299, allocations: 0 / 1.155 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.9319, allocations: 0.6117 MB / 1.156 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/0.935, allocations: 495.1 kB / 1.156 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005541/0.9406, allocations: 6.25 MB / 1.162 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/0.9441, allocations: 456.7 kB / 1.163 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.9443, allocations: 34.28 kB / 1.163 GB, free: 9.73 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.001284/0.9456, allocations: 0.6661 MB / 1.163 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/0.946, allocations: 139.5 kB / 1.163 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.9565, allocations: 2.338 MB / 1.166 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.9566, allocations: 2.594 kB / 1.166 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9566, allocations: 0 / 1.166 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.9566, allocations: 0 / 1.166 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.9587, allocations: 1.104 MB / 1.167 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9588, allocations: 3.938 kB / 1.167 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/0.9615, allocations: 444.8 kB / 1.167 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.9615, allocations: 0 / 1.167 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.227e-05/0.9616, allocations: 21.38 kB / 1.167 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.9616, allocations: 4 kB / 1.167 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9616, allocations: 0 / 1.167 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.9717, allocations: 2.251 MB / 1.169 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.9728, allocations: 351.6 kB / 1.17 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/0.9733, allocations: 14.33 kB / 1.17 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0031/0.9764, allocations: 398.6 kB / 1.17 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.9765, allocations: 28.42 kB / 1.17 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.928e-05/0.9766, allocations: 26.19 kB / 1.17 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00291/0.9796, allocations: 1.45 MB / 1.172 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.61e-07/0.9796, allocations: 0 / 1.172 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002312/0.9819, allocations: 0.504 MB / 1.172 GB, free: 5.125 MB / 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.01122/0.9931, allocations: 2.933 MB / 1.175 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01807/1.011, allocations: 4.989 MB / 1.18 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.011, allocations: 0 / 1.18 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005187/1.016, allocations: 1.15 MB / 1.181 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/1.018, allocations: 293.1 kB / 1.181 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/1.04, allocations: 5.297 MB / 1.186 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/1.042, allocations: 1.42 MB / 1.188 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001974/1.044, allocations: 260.5 kB / 1.188 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008978/1.045, allocations: 415.7 kB / 1.188 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of SimCode: time 1.904e-06/1.045, allocations: 0 / 1.188 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06274/1.108, allocations: 35.66 MB / 1.223 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/1.108, allocations: 259.3 kB / 1.224 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/4.45, allocations: 6.906 kB / 1.224 GB, free: 2.477 MB / 0.7605 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)