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.SpeedSelect.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.SpeedSelect,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 249.5 MB / 257 MB, free: 6.883 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.001145/0.001145, allocations: 183.5 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.000829/0.0008291, allocations: 97.64 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.997e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1922, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6522/0.8444, allocations: 139.8 MB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.8447, allocations: 99.59 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02919/0.8739, allocations: 12.53 MB / 1.034 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.123e-06/0.8739, allocations: 0 / 1.034 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.12e-05/0.874, allocations: 11.94 kB / 1.034 GB, free: 3.414 MB / 0.6511 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.0007755/0.8747, allocations: 0.7173 MB / 1.035 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.8748, allocations: 8.031 kB / 1.035 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.48e-05/0.8749, allocations: 67.16 kB / 1.035 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006395/0.8755, allocations: 470.4 kB / 1.035 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.8756, allocations: 4 kB / 1.035 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.8756, allocations: 4 kB / 1.035 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.31e-05/0.8757, allocations: 40.61 kB / 1.036 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.8758, allocations: 91.11 kB / 1.036 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.8759, allocations: 0 / 1.036 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.8759, allocations: 3.938 kB / 1.036 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.8759, allocations: 0 / 1.036 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.8765, allocations: 0.5127 MB / 1.036 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.8768, allocations: 95.66 kB / 1.036 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.8769, allocations: 30.67 kB / 1.036 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.8769, allocations: 0 / 1.036 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.877, allocations: 89.77 kB / 1.036 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.8771, allocations: 0 / 1.036 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002623/0.8773, allocations: 155.6 kB / 1.036 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.8774, allocations: 106.8 kB / 1.037 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.8782, allocations: 0.7453 MB / 1.037 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.8782, allocations: 29.7 kB / 1.037 GB, free: 480 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.8784, allocations: 298.1 kB / 1.038 GB, free: 336 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.8785, allocations: 27.42 kB / 1.038 GB, free: 312 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.8785, allocations: 0 / 1.038 GB, free: 312 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8786, allocations: 317.1 kB / 1.038 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.8787, allocations: 26.8 kB / 1.038 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.8787, allocations: 77.16 kB / 1.038 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.8788, allocations: 27.05 kB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8788, allocations: 0 / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001933/0.879, allocations: 162.7 kB / 1.038 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.879, allocations: 7.984 kB / 1.038 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.8791, allocations: 4 kB / 1.038 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.8791, allocations: 0 / 1.038 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.8792, allocations: 12 kB / 1.038 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.8792, allocations: 0 / 1.038 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.8793, allocations: 11.98 kB / 1.038 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.8793, allocations: 4 kB / 1.038 GB, free: 15.69 MB / 0.6667 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.67e-05/0.8794, allocations: 108.9 kB / 1.038 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001945/0.8796, allocations: 166 kB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.8797, allocations: 71.14 kB / 1.039 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.8799, allocations: 175 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8799, allocations: 4 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.88, allocations: 0 / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.88, allocations: 3.953 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.8803, allocations: 373.2 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.8803, allocations: 0 / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.8804, allocations: 8 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.8804, allocations: 4 kB / 1.039 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.8804, allocations: 3.984 kB / 1.039 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.8804, allocations: 4.188 kB / 1.039 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8804, allocations: 3.938 kB / 1.039 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.8807, allocations: 189 kB / 1.039 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.8808, allocations: 139.6 kB / 1.039 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.8809, allocations: 6.938 kB / 1.039 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.881, allocations: 7.922 kB / 1.039 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.881, allocations: 15.98 kB / 1.039 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.8811, allocations: 3.75 kB / 1.039 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006357/0.8817, allocations: 0.6057 MB / 1.04 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8817, allocations: 0 / 1.04 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003235/0.882, allocations: 83.39 kB / 1.04 GB, free: 13.96 MB / 0.6667 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.0014/0.8834, allocations: 1.146 MB / 1.041 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.8836, allocations: 92.2 kB / 1.041 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8837, allocations: 0 / 1.041 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.8837, allocations: 34.8 kB / 1.041 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.8843, allocations: 136.5 kB / 1.042 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.8859, allocations: 1.045 MB / 1.043 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.8865, allocations: 0.993 MB / 1.043 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.8866, allocations: 58.28 kB / 1.044 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.8868, allocations: 175.1 kB / 1.044 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of SimCode: time 2.7e-07/0.8868, allocations: 0 / 1.044 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.917, allocations: 11.88 MB / 1.055 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.9172, allocations: 202.2 kB / 1.056 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/3.065, allocations: 0 / 1.056 GB, free: 14.62 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)