Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.877/2.877, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001552/0.001551, allocations: 184.9 kB / 360.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001092/0.001091, allocations: 91.47 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.059e-05/4.063e-05, allocations: 8 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8079, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2499/1.058, allocations: 145 MB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/1.058, allocations: 99.23 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05287/1.111, allocations: 12.53 MB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.074e-06/1.111, allocations: 0 / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.617e-05/1.111, allocations: 12 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001228/1.113, allocations: 0.7208 MB / 1.118 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.113, allocations: 8.031 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/1.113, allocations: 64.45 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/1.114, allocations: 459.6 kB / 1.119 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/1.114, allocations: 0 / 1.119 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/1.114, allocations: 7.938 kB / 1.119 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001558/1.114, allocations: 39.97 kB / 1.119 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/1.114, allocations: 92.25 kB / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.114, allocations: 0 / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/1.114, allocations: 4 kB / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/1.114, allocations: 3.984 kB / 1.119 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/1.116, allocations: 0.5049 MB / 1.119 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/1.116, allocations: 94.67 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/1.116, allocations: 34.34 kB / 1.119 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/1.116, allocations: 4 kB / 1.119 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/1.117, allocations: 87.39 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/1.117, allocations: 0 / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004767/1.117, allocations: 156.8 kB / 1.12 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/1.117, allocations: 107.5 kB / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.119, allocations: 0.746 MB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/1.119, allocations: 29.64 kB / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/1.119, allocations: 304.1 kB / 1.121 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/1.119, allocations: 19.66 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/1.119, allocations: 0 / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.119, allocations: 317.9 kB / 1.121 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/1.12, allocations: 26.81 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.12, allocations: 84.2 kB / 1.121 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/1.12, allocations: 29.86 kB / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.12, allocations: 0 / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004146/1.12, allocations: 148.9 kB / 1.121 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.12, allocations: 7.938 kB / 1.121 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.12, allocations: 4.031 kB / 1.121 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.12, allocations: 0 / 1.121 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/1.121, allocations: 15.98 kB / 1.121 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/1.121, allocations: 4 kB / 1.121 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/1.121, allocations: 7.906 kB / 1.121 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/1.121, allocations: 0 / 1.121 GB, free: 10.47 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 prepare postOptimizeDAE: time 0.0001344/1.121, allocations: 123 kB / 1.122 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003461/1.121, allocations: 160.8 kB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.122, allocations: 67.16 kB / 1.122 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/1.122, allocations: 179 kB / 1.122 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.122, allocations: 0 / 1.122 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.122, allocations: 0 / 1.122 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.122, allocations: 3.953 kB / 1.122 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/1.123, allocations: 374 kB / 1.122 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.123, allocations: 0 / 1.122 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.123, allocations: 11.98 kB / 1.122 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.123, allocations: 0 / 1.122 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/1.123, allocations: 3.938 kB / 1.122 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.123, allocations: 0 / 1.122 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.123, allocations: 5.312 kB / 1.122 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/1.123, allocations: 196.1 kB / 1.122 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/1.124, allocations: 150.1 kB / 1.123 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/1.124, allocations: 48 / 1.123 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/1.124, allocations: 11.97 kB / 1.123 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/1.124, allocations: 7.984 kB / 1.123 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/1.124, allocations: 4 kB / 1.123 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001249/1.125, allocations: 0.6123 MB / 1.123 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.11e-07/1.125, allocations: 0 / 1.123 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005262/1.126, allocations: 71.94 kB / 1.123 GB, free: 8.434 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00208/1.128, allocations: 1.149 MB / 1.124 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003672/1.128, allocations: 79.91 kB / 1.125 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.128, allocations: 7.984 kB / 1.125 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/1.129, allocations: 36.06 kB / 1.125 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.13, allocations: 138.8 kB / 1.125 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/1.132, allocations: 1.042 MB / 1.126 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008605/1.133, allocations: 0.9993 MB / 1.127 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002961/1.134, allocations: 44.33 kB / 1.127 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/1.134, allocations: 179.4 kB / 1.127 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/1.134, allocations: 0 / 1.127 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05991/1.194, allocations: 11.87 MB / 1.138 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/1.194, allocations: 190.3 kB / 1.139 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/4.047, allocations: 4.031 kB / 1.139 GB, free: 9.043 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)