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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 102.4 kB / 16.29 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 183.7 kB / 17.22 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 292.3 MB / 0.5495 GB, free: 17.38 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 67.91 kB / 0.6722 GB, free: 6.469 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2751, allocations: 114.6 MB / 0.7841 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003993/0.2792, allocations: 2.09 MB / 0.7861 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4042/0.6834, allocations: 2.471 MB / 0.7885 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.6836, allocations: 2.531 kB / 0.7886 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.6853, allocations: 0.4966 MB / 0.789 GB, free: 45.91 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.6858, allocations: 113.9 kB / 0.7891 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.6866, allocations: 207.6 kB / 0.7893 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.6872, allocations: 359.2 kB / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.6874, allocations: 65.17 kB / 0.7897 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.6877, allocations: 119.5 kB / 0.7899 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.688, allocations: 139.1 kB / 0.79 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.6881, allocations: 11.69 kB / 0.79 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.6884, allocations: 71.06 kB / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.6885, allocations: 126.3 kB / 0.7902 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.6887, allocations: 211.3 kB / 0.7904 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006281/0.6894, allocations: 0.6839 MB / 0.7911 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6894, allocations: 1.969 kB / 0.7911 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6894, allocations: 2.625 kB / 0.7911 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.6894, allocations: 2.688 kB / 0.7911 GB, free: 45.59 MB / 0.6544 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.001295/0.6907, allocations: 0.8672 MB / 0.7919 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.6908, allocations: 10.56 kB / 0.7919 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.6909, allocations: 65.09 kB / 0.792 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.6914, allocations: 425.7 kB / 0.7924 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.6914, allocations: 10.53 kB / 0.7924 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.6915, allocations: 5.047 kB / 0.7924 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.6917, allocations: 97.64 kB / 0.7925 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6917, allocations: 3.938 kB / 0.7925 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.6918, allocations: 6.375 kB / 0.7925 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6918, allocations: 0 / 0.7925 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.6919, allocations: 44.45 kB / 0.7926 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.6926, allocations: 0.5204 MB / 0.7931 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.6929, allocations: 99.5 kB / 0.7932 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.693, allocations: 39.95 kB / 0.7932 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.693, allocations: 0 / 0.7932 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.6932, allocations: 92.06 kB / 0.7933 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.6932, allocations: 0 / 0.7933 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003765/0.6936, allocations: 192.8 kB / 0.7935 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.6936, allocations: 103.7 kB / 0.7936 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/0.6945, allocations: 0.8886 MB / 0.7944 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.6945, allocations: 26.33 kB / 0.7945 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.6947, allocations: 302.2 kB / 0.7947 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.6948, allocations: 24.94 kB / 0.7948 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.6948, allocations: 22.41 kB / 0.7948 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.6949, allocations: 317 kB / 0.7951 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.6949, allocations: 25.89 kB / 0.7951 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.695, allocations: 69.77 kB / 0.7952 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.6952, allocations: 78.27 kB / 0.7953 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6952, allocations: 3.406 kB / 0.7953 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002335/0.6954, allocations: 160.6 kB / 0.7954 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6954, allocations: 7.594 kB / 0.7954 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6955, allocations: 0 / 0.7954 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6955, allocations: 0 / 0.7954 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.6956, allocations: 16 kB / 0.7954 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.6956, allocations: 7.266 kB / 0.7954 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.6957, allocations: 11.06 kB / 0.7955 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.6957, allocations: 9.844 kB / 0.7955 GB, free: 43.29 MB / 0.6544 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.0002352/0.696, allocations: 321.2 kB / 0.7958 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.696, allocations: 62.47 kB / 0.7958 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.079e-05/0.6961, allocations: 77.44 kB / 0.7959 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.6961, allocations: 0 / 0.7959 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6962, allocations: 3.938 kB / 0.7959 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6962, allocations: 0 / 0.7959 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.6965, allocations: 387.9 kB / 0.7963 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6965, allocations: 0 / 0.7963 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.6965, allocations: 7.875 kB / 0.7963 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6965, allocations: 0 / 0.7963 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6965, allocations: 3.312 kB / 0.7963 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6966, allocations: 8.188 kB / 0.7963 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6966, allocations: 6.938 kB / 0.7963 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.6968, allocations: 183.4 kB / 0.7965 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.6969, allocations: 133.8 kB / 0.7966 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.697, allocations: 7.531 kB / 0.7966 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.6971, allocations: 7.219 kB / 0.7966 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.6971, allocations: 14.02 kB / 0.7966 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.6972, allocations: 3.5 kB / 0.7966 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006046/0.6978, allocations: 0.6605 MB / 0.7973 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6978, allocations: 0 / 0.7973 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002875/0.6981, allocations: 57.59 kB / 0.7973 GB, free: 42.6 MB / 0.6544 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.0009659/0.699, allocations: 433.5 kB / 0.7978 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.6993, allocations: 74.22 kB / 0.7978 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6993, allocations: 0 / 0.7978 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.6994, allocations: 40.25 kB / 0.7979 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.7, allocations: 147.2 kB / 0.798 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.7013, allocations: 1.083 MB / 0.7991 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.7019, allocations: 0.9791 MB / 0.8 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.7021, allocations: 46.03 kB / 0.8001 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.7022, allocations: 23.19 kB / 0.8001 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.7022, allocations: 2.5 kB / 0.8001 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.01433/0.7165, allocations: 5.677 MB / 0.8056 GB, free: 41.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)