Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 387.1 MB / 399.7 MB, free: 9.395 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 184 kB / 492.3 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008477, allocations: 94.53 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.201e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2515, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8654/1.117, allocations: 157.6 MB / 1.366 GB, free: 18.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/1.117, allocations: 98.25 kB / 1.367 GB, free: 18.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03095/1.148, allocations: 13 MB / 1.379 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.148, allocations: 0 / 1.379 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.134e-05/1.148, allocations: 7.75 kB / 1.379 GB, free: 33.27 MB / 0.8386 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.0008958/1.149, allocations: 0.7125 MB / 1.38 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.149, allocations: 7.656 kB / 1.38 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/1.149, allocations: 34.41 kB / 1.38 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/1.149, allocations: 58.19 kB / 1.38 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/1.15, allocations: 471.9 kB / 1.38 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/1.15, allocations: 3.688 kB / 1.38 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/1.15, allocations: 7.688 kB / 1.38 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/1.15, allocations: 100 kB / 1.381 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.15, allocations: 3.938 kB / 1.381 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.15, allocations: 0 / 1.381 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.15, allocations: 0 / 1.381 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/1.151, allocations: 47.27 kB / 1.381 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/1.151, allocations: 0.534 MB / 1.381 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/1.152, allocations: 97.62 kB / 1.381 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/1.152, allocations: 34.48 kB / 1.381 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/1.152, allocations: 3.844 kB / 1.381 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/1.152, allocations: 88.44 kB / 1.381 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/1.152, allocations: 0 / 1.381 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003016/1.152, allocations: 167.1 kB / 1.381 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.152, allocations: 106.7 kB / 1.382 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008606/1.153, allocations: 0.7819 MB / 1.382 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/1.153, allocations: 25.7 kB / 1.382 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/1.153, allocations: 306.2 kB / 1.383 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.153, allocations: 30.92 kB / 1.383 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/1.153, allocations: 0 / 1.383 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/1.154, allocations: 309.8 kB / 1.383 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/1.154, allocations: 25.5 kB / 1.383 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/1.154, allocations: 76.52 kB / 1.383 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/1.154, allocations: 37.14 kB / 1.383 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.154, allocations: 0 / 1.383 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001934/1.154, allocations: 158.5 kB / 1.383 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.154, allocations: 7.781 kB / 1.383 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/1.154, allocations: 4 kB / 1.383 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.154, allocations: 0 / 1.383 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/1.154, allocations: 19.23 kB / 1.383 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.154, allocations: 8.078 kB / 1.383 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/1.154, allocations: 15.55 kB / 1.383 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/1.154, allocations: 3.938 kB / 1.383 GB, free: 30.67 MB / 0.8386 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 7.89e-05/1.154, allocations: 119.8 kB / 1.383 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/1.154, allocations: 61.84 kB / 1.384 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/1.155, allocations: 180.7 kB / 1.384 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.155, allocations: 0 / 1.384 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.155, allocations: 0 / 1.384 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.155, allocations: 3.953 kB / 1.384 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/1.155, allocations: 398.2 kB / 1.384 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.155, allocations: 0 / 1.384 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/1.155, allocations: 19.19 kB / 1.384 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.155, allocations: 0 / 1.384 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.155, allocations: 3.984 kB / 1.384 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.155, allocations: 3.844 kB / 1.384 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.155, allocations: 0 / 1.384 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/1.155, allocations: 187 kB / 1.384 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.155, allocations: 147.5 kB / 1.384 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/1.156, allocations: 3.188 kB / 1.384 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/1.156, allocations: 11.86 kB / 1.384 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/1.156, allocations: 11.14 kB / 1.384 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/1.156, allocations: 3.844 kB / 1.384 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006886/1.156, allocations: 0.6431 MB / 1.385 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.156, allocations: 0 / 1.385 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003384/1.157, allocations: 78.11 kB / 1.385 GB, free: 29.75 MB / 0.8386 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.001434/1.158, allocations: 1.174 MB / 1.386 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001769/1.158, allocations: 86.2 kB / 1.386 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.158, allocations: 4.062 kB / 1.386 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-05/1.158, allocations: 39.92 kB / 1.386 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/1.159, allocations: 146 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/1.161, allocations: 1.06 MB / 1.388 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/1.161, allocations: 0.9965 MB / 1.389 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001668/1.161, allocations: 44.97 kB / 1.389 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/1.161, allocations: 176.7 kB / 1.389 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.161, allocations: 0 / 1.389 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/1.191, allocations: 13.73 MB / 1.402 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/1.191, allocations: 207.5 kB / 1.402 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.492, allocations: 1.875 kB / 1.402 GB, free: 19.21 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat does not exist to compare? outputFormat=mat