Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.SpeedSelect,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001374/0.001374, allocations: 184.9 kB / 366.7 MB, free: 1.656 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.708/1.708, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008772/0.0008772, allocations: 89.42 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.479e-05, allocations: 15.98 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7093/0.7093, allocations: 116.3 MB / 0.9734 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.9072, allocations: 146.2 MB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.9076, allocations: 92.47 kB / 1.116 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03497/0.9425, allocations: 12.52 MB / 1.128 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9426, allocations: 0 / 1.128 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.46e-05/0.9427, allocations: 12 kB / 1.128 GB, free: 7.309 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.001213/0.9439, allocations: 0.7226 MB / 1.129 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.944, allocations: 8.031 kB / 1.129 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.9441, allocations: 63.25 kB / 1.129 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008948/0.945, allocations: 459.6 kB / 1.13 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.9451, allocations: 0 / 1.13 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.9451, allocations: 4 kB / 1.13 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001263/0.9452, allocations: 43.92 kB / 1.13 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.9454, allocations: 96.23 kB / 1.13 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.9454, allocations: 0 / 1.13 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.9454, allocations: 0 / 1.13 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.9455, allocations: 0 / 1.13 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.9463, allocations: 0.5127 MB / 1.13 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.9467, allocations: 97.03 kB / 1.13 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.9467, allocations: 36.97 kB / 1.13 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.9468, allocations: 3.094 kB / 1.13 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.9469, allocations: 83.41 kB / 1.131 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.9469, allocations: 0 / 1.131 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003666/0.9473, allocations: 164.8 kB / 1.131 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.9474, allocations: 102.8 kB / 1.131 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.9484, allocations: 0.7538 MB / 1.132 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.9485, allocations: 25.7 kB / 1.132 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.9487, allocations: 300.1 kB / 1.132 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.9488, allocations: 19.66 kB / 1.132 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.9488, allocations: 0 / 1.132 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9489, allocations: 317.9 kB / 1.132 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.949, allocations: 28 kB / 1.132 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.9491, allocations: 76.27 kB / 1.132 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.62e-05/0.9492, allocations: 31.92 kB / 1.132 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9492, allocations: 0 / 1.132 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002496/0.9494, allocations: 156 kB / 1.132 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9495, allocations: 4 kB / 1.132 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.9495, allocations: 8.031 kB / 1.132 GB, free: 3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.9495, allocations: 0 / 1.132 GB, free: 3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.9496, allocations: 19.92 kB / 1.132 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.9496, allocations: 0 / 1.132 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.9498, allocations: 7.906 kB / 1.132 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.9498, allocations: 4 kB / 1.132 GB, free: 2.969 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.0001014/0.9499, allocations: 112.9 kB / 1.133 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002207/0.9501, allocations: 152.9 kB / 1.133 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.9502, allocations: 67.16 kB / 1.133 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.9505, allocations: 179.7 kB / 1.133 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.9505, allocations: 4 kB / 1.133 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.9505, allocations: 1.5 kB / 1.133 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.9505, allocations: 1.312 kB / 1.133 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.951, allocations: 373.9 kB / 1.133 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.951, allocations: 0 / 1.133 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.951, allocations: 11.98 kB / 1.133 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.9511, allocations: 3.938 kB / 1.133 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.9511, allocations: 0 / 1.133 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.9511, allocations: 4 kB / 1.133 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9511, allocations: 4 kB / 1.133 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.9514, allocations: 192.1 kB / 1.134 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.9516, allocations: 148.2 kB / 1.134 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.9517, allocations: 5.875 kB / 1.134 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.9518, allocations: 0 / 1.134 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.9519, allocations: 11.98 kB / 1.134 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.9519, allocations: 3.984 kB / 1.134 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000758/0.9526, allocations: 0.6123 MB / 1.134 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9527, allocations: 1.406 kB / 1.134 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003471/0.953, allocations: 75.94 kB / 1.134 GB, free: 0.9453 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.001553/0.9546, allocations: 1.151 MB / 1.135 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.9548, allocations: 75.97 kB / 1.136 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9548, allocations: 3.625 kB / 1.136 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/0.9549, allocations: 47.44 kB / 1.136 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.9555, allocations: 137.8 kB / 1.136 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.9571, allocations: 1.056 MB / 1.137 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.9578, allocations: 0.996 MB / 1.138 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.958, allocations: 42.06 kB / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.9582, allocations: 171.4 kB / 1.138 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.9582, allocations: 0 / 1.138 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.9953, allocations: 11.89 MB / 1.15 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.9956, allocations: 197.8 kB / 1.15 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.413, allocations: 0 / 1.15 GB, free: 1.469 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)