Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.ApparatusDryPoint,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.827/1.827, 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.001475/0.001475, allocations: 172.9 kB / 366.7 MB, free: 1.672 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.936/1.936, allocations: 205.3 MB / 0.626 GB, free: 7.219 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.0009073/0.0009074, allocations: 94.73 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.058e-05/4.011e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8285/0.8285, allocations: 116.3 MB / 0.9734 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.12/5.949, allocations: 2.067 GB / 3.04 GB, free: 16.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/5.949, allocations: 95.56 kB / 3.041 GB, free: 16.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9399/6.889, allocations: 92.3 MB / 3.131 GB, free: 316.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.923e-06/6.889, allocations: 0 / 3.131 GB, free: 316.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.609e-05/6.889, allocations: 15.75 kB / 3.131 GB, free: 316.7 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002632/6.892, allocations: 1.402 MB / 3.132 GB, free: 315.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/6.892, allocations: 10.97 kB / 3.132 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/6.905, allocations: 2.083 MB / 3.134 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/6.908, allocations: 1.297 MB / 3.135 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/6.908, allocations: 4 kB / 3.135 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.277e-05/6.908, allocations: 12 kB / 3.135 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007784/6.909, allocations: 0.5898 MB / 3.136 GB, free: 312 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/6.91, allocations: 478.8 kB / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/6.91, allocations: 4 kB / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/6.91, allocations: 0 / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/6.91, allocations: 7.953 kB / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008729/6.919, allocations: 3.598 MB / 3.14 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/6.92, allocations: 0.7341 MB / 3.141 GB, free: 307 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/6.92, allocations: 316.8 kB / 3.141 GB, free: 306.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/6.921, allocations: 101.1 kB / 3.141 GB, free: 306.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/6.921, allocations: 444.7 kB / 3.141 GB, free: 306.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 2.545e-06/6.921, allocations: 0 / 3.141 GB, free: 306.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.00394/6.925, allocations: 1.185 MB / 3.143 GB, free: 305 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/6.925, allocations: 106.8 kB / 3.143 GB, free: 304.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/6.928, allocations: 2.092 MB / 3.145 GB, free: 302.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/6.928, allocations: 25.7 kB / 3.145 GB, free: 302.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/6.929, allocations: 0.5466 MB / 3.145 GB, free: 302.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/6.929, allocations: 63.11 kB / 3.145 GB, free: 302.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/6.929, allocations: 6.062 kB / 3.145 GB, free: 302.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/6.929, allocations: 325.9 kB / 3.146 GB, free: 301.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/6.929, allocations: 448.2 kB / 3.146 GB, free: 301.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/6.93, allocations: 484 kB / 3.147 GB, free: 300.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02197/6.952, allocations: 9.719 MB / 3.156 GB, free: 291.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/6.952, allocations: 0 / 3.156 GB, free: 291.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.02427/6.976, allocations: 10.73 MB / 3.167 GB, free: 280.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/6.976, allocations: 130.3 kB / 3.167 GB, free: 280.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/6.976, allocations: 4 kB / 3.167 GB, free: 280.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/6.979, allocations: 0.7133 MB / 3.167 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/6.982, allocations: 495.4 kB / 3.168 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/6.984, allocations: 2.732 MB / 3.171 GB, free: 276.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/6.987, allocations: 451.3 kB / 3.171 GB, free: 275.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/6.988, allocations: 35.97 kB / 3.171 GB, free: 275.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/6.988, allocations: 4 kB / 3.171 GB, free: 275.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02282/7.01, allocations: 10.46 MB / 3.181 GB, free: 265.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/7.011, allocations: 0 / 3.181 GB, free: 265.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/7.013, allocations: 0.6353 MB / 3.182 GB, free: 264.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/7.015, allocations: 491.3 kB / 3.182 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/7.02, allocations: 5.952 MB / 3.188 GB, free: 257.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/7.023, allocations: 451.1 kB / 3.189 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/7.023, allocations: 43.91 kB / 3.189 GB, free: 257.2 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: 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.0003638/7.024, allocations: 140.5 kB / 3.189 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003274/7.027, allocations: 1.103 MB / 3.19 GB, free: 255.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/7.027, allocations: 138.2 kB / 3.19 GB, free: 255.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/7.03, allocations: 0.9769 MB / 3.191 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/7.03, allocations: 0 / 3.191 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/7.03, allocations: 0 / 3.191 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/7.03, allocations: 3.469 kB / 3.191 GB, free: 254.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/7.032, allocations: 1.191 MB / 3.192 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/7.032, allocations: 0 / 3.192 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/7.034, allocations: 455.5 kB / 3.192 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/7.034, allocations: 3.953 kB / 3.192 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/7.034, allocations: 19.95 kB / 3.192 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/7.034, allocations: 0 / 3.192 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/7.034, allocations: 4 kB / 3.192 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/7.036, allocations: 0.8931 MB / 3.193 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/7.037, allocations: 427.1 kB / 3.194 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/7.037, allocations: 3.938 kB / 3.194 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/7.04, allocations: 399.5 kB / 3.194 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/7.04, allocations: 19.97 kB / 3.194 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/7.04, allocations: 31.97 kB / 3.194 GB, free: 251.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002141/7.042, allocations: 1.593 MB / 3.196 GB, free: 249.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.042, allocations: 0 / 3.196 GB, free: 249.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002076/7.044, allocations: 0.5583 MB / 3.196 GB, free: 249.1 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: 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.004026/7.048, allocations: 2.429 MB / 3.199 GB, free: 246.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003617/7.052, allocations: 2.315 MB / 3.201 GB, free: 244.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/7.052, allocations: 0 / 3.201 GB, free: 244.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004795/7.053, allocations: 411.2 kB / 3.201 GB, free: 243.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/7.054, allocations: 309.2 kB / 3.202 GB, free: 243.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/7.071, allocations: 4.001 MB / 3.206 GB, free: 239.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008734/7.072, allocations: 1.418 MB / 3.207 GB, free: 238.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003039/7.075, allocations: 1.003 MB / 3.208 GB, free: 237.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006624/7.076, allocations: 415.2 kB / 3.208 GB, free: 236.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/7.076, allocations: 0 / 3.208 GB, free: 236.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07864/7.155, allocations: 42.49 MB / 3.25 GB, free: 194.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/7.155, allocations: 179.6 kB / 3.25 GB, free: 194.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.03/11.19, allocations: 0 / 3.25 GB, free: 194.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)