Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 164.9 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 95.8 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.411e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2096, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.028/6.238, allocations: 2.186 GB / 3.071 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/6.238, allocations: 101.8 kB / 3.071 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1778/6.416, allocations: 92.09 MB / 3.161 GB, free: 93.63 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.704e-06/6.416, allocations: 0 / 3.161 GB, free: 93.63 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.085e-05/6.416, allocations: 16 kB / 3.161 GB, free: 93.62 MB / 0.8698 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.002353/6.418, allocations: 1.405 MB / 3.162 GB, free: 92.16 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/6.419, allocations: 12.03 kB / 3.162 GB, free: 92.14 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/6.432, allocations: 2.078 MB / 3.164 GB, free: 90.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/6.434, allocations: 1.297 MB / 3.166 GB, free: 88.72 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/6.434, allocations: 4 kB / 3.166 GB, free: 88.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/6.435, allocations: 16 kB / 3.166 GB, free: 88.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007928/6.435, allocations: 0.582 MB / 3.166 GB, free: 88.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/6.436, allocations: 487.7 kB / 3.167 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/6.436, allocations: 4 kB / 3.167 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/6.436, allocations: 7.953 kB / 3.167 GB, free: 87.61 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/6.436, allocations: 0 / 3.167 GB, free: 87.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008868/6.445, allocations: 3.601 MB / 3.17 GB, free: 83.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/6.446, allocations: 0.729 MB / 3.171 GB, free: 83.12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/6.447, allocations: 320.8 kB / 3.171 GB, free: 82.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/6.447, allocations: 105.1 kB / 3.171 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005209/6.448, allocations: 446 kB / 3.172 GB, free: 82.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 3.637e-06/6.448, allocations: 0 / 3.172 GB, free: 82.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.003931/6.451, allocations: 1.182 MB / 3.173 GB, free: 81.04 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/6.452, allocations: 114.7 kB / 3.173 GB, free: 80.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/6.454, allocations: 2.088 MB / 3.175 GB, free: 78.81 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/6.454, allocations: 25.7 kB / 3.175 GB, free: 78.78 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/6.455, allocations: 0.5506 MB / 3.176 GB, free: 78.22 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/6.455, allocations: 63.02 kB / 3.176 GB, free: 78.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/6.455, allocations: 0 / 3.176 GB, free: 78.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/6.455, allocations: 321.9 kB / 3.176 GB, free: 77.84 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/6.455, allocations: 448.2 kB / 3.177 GB, free: 77.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/6.456, allocations: 484.1 kB / 3.177 GB, free: 76.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02096/6.477, allocations: 9.715 MB / 3.186 GB, free: 67.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/6.477, allocations: 0 / 3.186 GB, free: 67.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0234/6.5, allocations: 10.73 MB / 3.197 GB, free: 56.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/6.501, allocations: 130.4 kB / 3.197 GB, free: 56.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/6.501, allocations: 0 / 3.197 GB, free: 56.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/6.503, allocations: 0.7094 MB / 3.198 GB, free: 55.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/6.506, allocations: 0.4915 MB / 3.198 GB, free: 55.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/6.508, allocations: 2.724 MB / 3.201 GB, free: 52.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/6.511, allocations: 459.1 kB / 3.201 GB, free: 51.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/6.511, allocations: 35.97 kB / 3.201 GB, free: 51.76 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/6.511, allocations: 4 kB / 3.201 GB, free: 51.76 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02217/6.534, allocations: 10.46 MB / 3.212 GB, free: 41.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/6.534, allocations: 0 / 3.212 GB, free: 41.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/6.535, allocations: 0.6314 MB / 3.212 GB, free: 40.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/6.538, allocations: 495.3 kB / 3.213 GB, free: 40.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/6.542, allocations: 5.949 MB / 3.219 GB, free: 33.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/6.545, allocations: 443.2 kB / 3.219 GB, free: 33.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/6.546, allocations: 43.91 kB / 3.219 GB, free: 33.26 MB / 0.8698 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 () * 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.0002871/6.546, allocations: 153.2 kB / 3.219 GB, free: 33.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003111/6.549, allocations: 1.112 MB / 3.22 GB, free: 31.98 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/6.549, allocations: 138.3 kB / 3.22 GB, free: 31.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/6.552, allocations: 0.9661 MB / 3.221 GB, free: 30.87 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/6.552, allocations: 4 kB / 3.221 GB, free: 30.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/6.552, allocations: 0 / 3.221 GB, free: 30.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/6.552, allocations: 3.984 kB / 3.221 GB, free: 30.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/6.553, allocations: 1.195 MB / 3.222 GB, free: 29.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/6.553, allocations: 4 kB / 3.222 GB, free: 29.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/6.556, allocations: 451.4 kB / 3.223 GB, free: 29.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/6.556, allocations: 0 / 3.223 GB, free: 29.15 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/6.556, allocations: 19.97 kB / 3.223 GB, free: 29.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/6.556, allocations: 0 / 3.223 GB, free: 29.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/6.556, allocations: 4 kB / 3.223 GB, free: 29.13 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/6.558, allocations: 0.889 MB / 3.224 GB, free: 28.22 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006144/6.559, allocations: 423.3 kB / 3.224 GB, free: 27.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/6.559, allocations: 7.984 kB / 3.224 GB, free: 27.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/6.561, allocations: 395.5 kB / 3.225 GB, free: 27.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/6.561, allocations: 27.91 kB / 3.225 GB, free: 27.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/6.562, allocations: 31.97 kB / 3.225 GB, free: 27.33 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002077/6.564, allocations: 1.589 MB / 3.226 GB, free: 25.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.51e-07/6.564, allocations: 0 / 3.226 GB, free: 25.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001854/6.566, allocations: 0.5505 MB / 3.227 GB, free: 25.2 MB / 0.8698 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) * 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.003599/6.569, allocations: 2.437 MB / 3.229 GB, free: 22.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003518/6.573, allocations: 2.319 MB / 3.231 GB, free: 20.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/6.573, allocations: 0 / 3.231 GB, free: 20.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/6.573, allocations: 407.2 kB / 3.232 GB, free: 19.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/6.575, allocations: 309.1 kB / 3.232 GB, free: 19.62 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/6.591, allocations: 3.98 MB / 3.236 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007467/6.592, allocations: 1.425 MB / 3.237 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002956/6.595, allocations: 1.005 MB / 3.238 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/6.595, allocations: 415.2 kB / 3.239 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/6.595, allocations: 3.938 kB / 3.239 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6456/7.241, allocations: 42.48 MB / 3.28 GB, free: 266 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/7.241, allocations: 189 kB / 3.28 GB, free: 265.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.597/10.84, allocations: 6.609 kB / 3.28 GB, free: 265.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)