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.636/1.636, allocations: 249.3 MB / 261.8 MB, free: 5.965 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.001153/0.001152, allocations: 184.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.001072/0.001072, allocations: 92.39 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.043e-05/4.045e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.239, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.394/6.633, allocations: 2.185 GB / 3.077 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/6.634, allocations: 95.31 kB / 3.077 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2043/6.838, allocations: 107.4 MB / 3.182 GB, free: 39.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/6.838, allocations: 3.938 kB / 3.182 GB, free: 39.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.23e-05/6.838, allocations: 16 kB / 3.182 GB, free: 39.71 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.002409/6.841, allocations: 1.409 MB / 3.184 GB, free: 38.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/6.841, allocations: 12.03 kB / 3.184 GB, free: 38.23 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/6.841, allocations: 46.55 kB / 3.184 GB, free: 38.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/6.855, allocations: 2.082 MB / 3.186 GB, free: 36.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/6.857, allocations: 1.3 MB / 3.187 GB, free: 34.75 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/6.857, allocations: 12 kB / 3.187 GB, free: 34.73 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.223e-05/6.858, allocations: 24 kB / 3.187 GB, free: 34.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/6.858, allocations: 495.8 kB / 3.188 GB, free: 34.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/6.858, allocations: 0 / 3.188 GB, free: 34.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/6.858, allocations: 11.95 kB / 3.188 GB, free: 34.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/6.858, allocations: 8 kB / 3.188 GB, free: 34.19 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/6.859, allocations: 0.5937 MB / 3.188 GB, free: 33.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008941/6.868, allocations: 3.65 MB / 3.192 GB, free: 29.78 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/6.87, allocations: 0.7408 MB / 3.192 GB, free: 29.03 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/6.87, allocations: 324.9 kB / 3.193 GB, free: 28.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/6.87, allocations: 97.09 kB / 3.193 GB, free: 28.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005977/6.871, allocations: 456.6 kB / 3.193 GB, free: 28.13 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 4.338e-06/6.871, allocations: 0 / 3.193 GB, free: 28.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.002466/6.874, allocations: 0.8723 MB / 3.194 GB, free: 27.24 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/6.874, allocations: 106.8 kB / 3.194 GB, free: 27.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/6.877, allocations: 2.17 MB / 3.196 GB, free: 24.94 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/6.877, allocations: 33.64 kB / 3.196 GB, free: 24.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005663/6.878, allocations: 0.566 MB / 3.197 GB, free: 24.33 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/6.878, allocations: 63.02 kB / 3.197 GB, free: 24.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/6.878, allocations: 12 kB / 3.197 GB, free: 24.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/6.878, allocations: 322 kB / 3.197 GB, free: 23.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007044/6.879, allocations: 444.2 kB / 3.198 GB, free: 23.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/6.88, allocations: 480 kB / 3.198 GB, free: 23.03 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/6.88, allocations: 410.7 kB / 3.199 GB, free: 22.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/6.88, allocations: 4 kB / 3.199 GB, free: 22.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003313/6.884, allocations: 1.418 MB / 3.2 GB, free: 21.17 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/6.884, allocations: 130.4 kB / 3.2 GB, free: 21.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/6.884, allocations: 0 / 3.2 GB, free: 21.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00297/6.887, allocations: 0.7484 MB / 3.201 GB, free: 20.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/6.89, allocations: 0.4915 MB / 3.201 GB, free: 19.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/6.892, allocations: 2.67 MB / 3.204 GB, free: 17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/6.895, allocations: 459.1 kB / 3.204 GB, free: 16.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/6.896, allocations: 35.97 kB / 3.204 GB, free: 16.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/6.896, allocations: 13.03 kB / 3.204 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002144/6.898, allocations: 1.18 MB / 3.206 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/6.898, allocations: 4 kB / 3.206 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/6.9, allocations: 0.6353 MB / 3.206 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/6.903, allocations: 499.3 kB / 3.207 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/6.908, allocations: 6.177 MB / 3.213 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/6.911, allocations: 459.2 kB / 3.213 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/6.911, allocations: 31.97 kB / 3.213 GB, free: 6.977 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.00037/6.912, allocations: 158.6 kB / 3.213 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/6.912, allocations: 138.2 kB / 3.213 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/6.915, allocations: 0.9156 MB / 3.214 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/6.915, allocations: 4 kB / 3.214 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/6.915, allocations: 0 / 3.214 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/6.915, allocations: 0 / 3.214 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/6.917, allocations: 1.238 MB / 3.216 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/6.917, allocations: 0 / 3.216 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/6.919, allocations: 451.4 kB / 3.216 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/6.919, allocations: 144 / 3.216 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/6.919, allocations: 19.97 kB / 3.216 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/6.919, allocations: 4 kB / 3.216 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/6.919, allocations: 0 / 3.216 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/6.921, allocations: 0.8562 MB / 3.217 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/6.922, allocations: 427.1 kB / 3.217 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/6.923, allocations: 8 kB / 3.217 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002874/6.925, allocations: 399.5 kB / 3.218 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/6.926, allocations: 27.92 kB / 3.218 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/6.926, allocations: 31.95 kB / 3.218 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003114/6.929, allocations: 1.671 MB / 3.219 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.9e-07/6.929, allocations: 0 / 3.219 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.6822/7.611, allocations: 0.5862 MB / 3.22 GB, free: 266 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.005428/7.616, allocations: 2.242 MB / 3.222 GB, free: 265.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005483/7.622, allocations: 2.358 MB / 3.224 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/7.622, allocations: 0 / 3.224 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007058/7.623, allocations: 425.1 kB / 3.225 GB, free: 264.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/7.625, allocations: 319.7 kB / 3.225 GB, free: 264.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/7.644, allocations: 4.002 MB / 3.229 GB, free: 264.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/7.645, allocations: 1.411 MB / 3.23 GB, free: 263.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003997/7.649, allocations: 0.9908 MB / 3.231 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007289/7.65, allocations: 420 kB / 3.232 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.104e-06/7.65, allocations: 6.125 kB / 3.232 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.129/7.779, allocations: 55.21 MB / 3.286 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/7.78, allocations: 219.5 kB / 3.286 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.094/11.87, allocations: 0 / 3.286 GB, free: 257.1 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)