Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 288.4 MB / 303.6 MB, free: 8.125 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.001106/0.001106, allocations: 176.5 kB / 372.3 MB, free: 10.12 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.547/1.547, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007222/0.0007222, allocations: 94.86 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003777, allocations: 18.41 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1886, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.001754/0.1904, allocations: 1.663 MB / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.1926, allocations: 2.312 MB / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.1927, allocations: 7.938 kB / 0.984 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.1936, allocations: 458.4 kB / 0.9845 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.076e-05/0.1937, allocations: 55.72 kB / 0.9845 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.1942, allocations: 207.6 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.1945, allocations: 272.3 kB / 0.985 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1946, allocations: 92.7 kB / 0.9851 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.1947, allocations: 99.52 kB / 0.9852 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1948, allocations: 115.4 kB / 0.9853 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1949, allocations: 4 kB / 0.9853 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.1952, allocations: 291.6 kB / 0.9856 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.1953, allocations: 91.61 kB / 0.9856 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1954, allocations: 208.5 kB / 0.9858 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.1958, allocations: 0.5963 MB / 0.9864 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1958, allocations: 0 / 0.9864 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1958, allocations: 4 kB / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1958, allocations: 0 / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006499/0.1965, allocations: 0.7676 MB / 0.9872 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1965, allocations: 8.031 kB / 0.9872 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.1966, allocations: 68.19 kB / 0.9873 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1969, allocations: 364.3 kB / 0.9876 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1969, allocations: 8.375 kB / 0.9876 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1969, allocations: 12.12 kB / 0.9876 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1971, allocations: 123.3 kB / 0.9877 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1971, allocations: 4 kB / 0.9877 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1971, allocations: 4 kB / 0.9877 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1971, allocations: 0 / 0.9877 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1973, allocations: 99.94 kB / 0.9878 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.1978, allocations: 0.5354 MB / 0.9884 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.198, allocations: 110.6 kB / 0.9885 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/0.198, allocations: 64.97 kB / 0.9885 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1981, allocations: 11.94 kB / 0.9885 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.1982, allocations: 133 kB / 0.9887 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1983, allocations: 4 kB / 0.9887 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003387/0.1986, allocations: 306.5 kB / 0.989 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.1986, allocations: 81.11 kB / 0.989 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.1993, allocations: 0.7503 MB / 0.9898 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1993, allocations: 25.7 kB / 0.9898 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1994, allocations: 280.2 kB / 0.9901 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.1995, allocations: 27.64 kB / 0.9901 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.1995, allocations: 4 kB / 0.9901 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.1995, allocations: 317.9 kB / 0.9904 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.1996, allocations: 47.97 kB / 0.9904 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.1996, allocations: 43.98 kB / 0.9905 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1998, allocations: 160.2 kB / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1998, allocations: 3.938 kB / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002219/0.2, allocations: 258.5 kB / 0.9909 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.2001, allocations: 33.7 kB / 0.9909 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2001, allocations: 4 kB / 0.9909 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2001, allocations: 0 / 0.9909 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.2002, allocations: 11.98 kB / 0.9909 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2002, allocations: 4.156 kB / 0.9909 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.2003, allocations: 11.84 kB / 0.991 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.2003, allocations: 7.984 kB / 0.991 GB, free: 15.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0002317/0.2005, allocations: 353.4 kB / 0.9913 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.2006, allocations: 59.25 kB / 0.9914 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.2009, allocations: 292.6 kB / 0.9916 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2009, allocations: 0 / 0.9916 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2009, allocations: 0 / 0.9916 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.201, allocations: 11.98 kB / 0.9916 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.2012, allocations: 369.4 kB / 0.992 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2012, allocations: 0 / 0.992 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.2013, allocations: 4 kB / 0.992 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2013, allocations: 0 / 0.992 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2013, allocations: 7.984 kB / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2013, allocations: 0 / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2013, allocations: 0 / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.2016, allocations: 313.8 kB / 0.9923 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2017, allocations: 148.3 kB / 0.9924 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.2017, allocations: 8.188 kB / 0.9925 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.2018, allocations: 8 kB / 0.9925 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.2019, allocations: 7.984 kB / 0.9925 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.2019, allocations: 11.98 kB / 0.9925 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004684/0.2024, allocations: 0.5536 MB / 0.993 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2024, allocations: 0 / 0.993 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003313/0.2027, allocations: 124 kB / 0.9931 GB, free: 13.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003711/0.2031, allocations: 183.6 kB / 0.9933 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.2033, allocations: 211.3 kB / 0.9935 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2033, allocations: 4 kB / 0.9935 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.2034, allocations: 147.2 kB / 0.9937 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.2039, allocations: 98.86 kB / 0.9938 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.205, allocations: 1.098 MB / 0.9948 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.2054, allocations: 0.9546 MB / 0.9958 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.758e-05/0.2054, allocations: 33.47 kB / 0.9958 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.2055, allocations: 15.44 kB / 0.9958 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.2055, allocations: 0 / 0.9958 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.007949/0.2134, allocations: 4.934 MB / 1.001 GB, free: 5.926 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)