Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.186/2.186, allocations: 391.2 MB / 407 MB, free: 10.87 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.001278/0.001278, allocations: 200.9 kB / 499.1 MB, free: 4.688 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.474/1.474, allocations: 222.9 MB / 0.7948 GB, free: 15.79 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.001015/0.001015, allocations: 107.2 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 48.31 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2818, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003579/0.2854, allocations: 2.141 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.2882, allocations: 2.515 MB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.2885, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.2898, allocations: 0.5 MB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.2901, allocations: 99.61 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.2907, allocations: 206.6 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.2911, allocations: 346.3 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2912, allocations: 64.73 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.2914, allocations: 119.4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.2915, allocations: 143.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.2916, allocations: 7.938 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.2918, allocations: 55.91 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.2919, allocations: 123.5 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.292, allocations: 214.5 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.2925, allocations: 0.6694 MB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2925, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2925, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2925, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 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.000966/0.2935, allocations: 0.8641 MB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2935, allocations: 11.98 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/0.2936, allocations: 72.09 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.2939, allocations: 424.3 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.294, allocations: 11.94 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.294, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.2942, allocations: 104.1 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2942, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2942, allocations: 7.984 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2942, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.2943, allocations: 39.98 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.2949, allocations: 0.5199 MB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.2952, allocations: 102.6 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.2953, allocations: 32.84 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.2953, allocations: 16 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.2955, allocations: 83.38 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2955, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003303/0.2958, allocations: 192.8 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.2959, allocations: 110.8 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007041/0.2966, allocations: 0.8834 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2966, allocations: 25.7 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.2968, allocations: 308 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.2968, allocations: 19.7 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.2968, allocations: 25.72 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.2969, allocations: 314 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.2969, allocations: 23.98 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.297, allocations: 80.2 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.2972, allocations: 73.69 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2972, allocations: 3.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002248/0.2974, allocations: 152.9 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2974, allocations: 8 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2974, allocations: 0 / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2974, allocations: 3.984 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.042e-05/0.2975, allocations: 19.94 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2975, allocations: 7.969 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2976, allocations: 15.83 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.2977, allocations: 4 kB / 1.23 GB, free: 105.2 MB / 0.823 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 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.2979, allocations: 310.3 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.2979, allocations: 67.19 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.526e-05/0.298, allocations: 73.98 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.298, allocations: 4 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.298, allocations: 3.938 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.298, allocations: 0 / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.2983, allocations: 385.4 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2983, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.2984, allocations: 7.984 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2984, allocations: 4 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2984, allocations: 4 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.2984, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2984, allocations: 3.938 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.2989, allocations: 0.9114 MB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.299, allocations: 132.3 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.299, allocations: 7.938 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2992, allocations: 7.984 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.2992, allocations: 7.984 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.2992, allocations: 8 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005474/0.2998, allocations: 0.6551 MB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2998, allocations: 0 / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003486/0.3002, allocations: 52 kB / 1.232 GB, free: 102.5 MB / 0.823 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,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008907/0.3011, allocations: 431.8 kB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.3012, allocations: 71.89 kB / 1.233 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3013, allocations: 0 / 1.233 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.476e-05/0.3014, allocations: 43.97 kB / 1.233 GB, free: 102.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.3019, allocations: 138.6 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3031, allocations: 1.333 MB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3035, allocations: 0.9823 MB / 1.235 GB, free: 99.55 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.3036, allocations: 42.28 kB / 1.235 GB, free: 99.52 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.3037, allocations: 19.44 kB / 1.235 GB, free: 99.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.3037, allocations: 0 / 1.235 GB, free: 99.5 MB / 0.823 GB Notification: Performance of Templates: time 0.008434/0.3121, allocations: 5.581 MB / 1.241 GB, free: 94.01 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)