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.637/1.637, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.001034/0.001034, allocations: 182.4 kB / 371.8 MB, free: 10.29 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.515/1.515, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.000855/0.0008551, allocations: 98.84 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004031, allocations: 20.44 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2209, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002073/0.223, allocations: 1.632 MB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.2254, allocations: 2.211 MB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2256, allocations: 0 / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.2268, allocations: 0.4946 MB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2269, allocations: 47.89 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.2276, allocations: 197.6 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.228, allocations: 258.8 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2282, allocations: 80.97 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2283, allocations: 95.53 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2284, allocations: 119.4 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.2285, allocations: 8 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.2289, allocations: 267.6 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.229, allocations: 87.67 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.2291, allocations: 117.4 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.2296, allocations: 0.5923 MB / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2296, allocations: 0 / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2296, allocations: 0 / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.2297, allocations: 0 / 0.9855 GB, free: 21.49 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.0009676/0.2306, allocations: 0.7791 MB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2307, allocations: 12.02 kB / 0.9862 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.895e-05/0.2308, allocations: 59.25 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.2312, allocations: 343.8 kB / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2312, allocations: 0 / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.2312, allocations: 12 kB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.2314, allocations: 126.1 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2314, allocations: 0 / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2315, allocations: 0 / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2315, allocations: 7.938 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2316, allocations: 104.1 kB / 0.9869 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.2323, allocations: 0.5358 MB / 0.9874 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2325, allocations: 106.5 kB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.2325, allocations: 8.062 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.2327, allocations: 137.1 kB / 0.9876 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.2327, allocations: 0 / 0.9876 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004222/0.2331, allocations: 391.5 kB / 0.988 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.2332, allocations: 77.11 kB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/0.2339, allocations: 0.7503 MB / 0.9888 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2339, allocations: 33.7 kB / 0.9888 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.2341, allocations: 280.1 kB / 0.9891 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.2341, allocations: 19.72 kB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.2341, allocations: 4 kB / 0.9891 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.436e-05/0.2342, allocations: 314 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.2343, allocations: 43.98 kB / 0.9895 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.2343, allocations: 47.97 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.144e-05/0.2344, allocations: 77.62 kB / 0.9896 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2344, allocations: 0 / 0.9896 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002412/0.2347, allocations: 270.9 kB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.2347, allocations: 33.69 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2347, allocations: 64 / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2347, allocations: 12 kB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.2348, allocations: 7.984 kB / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2348, allocations: 4 kB / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.2349, allocations: 15.83 kB / 0.9899 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.235, allocations: 8 kB / 0.9899 GB, free: 16.64 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.0002406/0.2352, allocations: 332.1 kB / 0.9902 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.2353, allocations: 59.3 kB / 0.9903 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.2356, allocations: 304.5 kB / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2356, allocations: 0 / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2356, allocations: 0 / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2356, allocations: 0 / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.2359, allocations: 365.5 kB / 0.9909 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2359, allocations: 0 / 0.9909 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.236, allocations: 11.98 kB / 0.991 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.236, allocations: 0 / 0.991 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.236, allocations: 15.89 kB / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.236, allocations: 0 / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.236, allocations: 0 / 0.991 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.2363, allocations: 313.9 kB / 0.9913 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.2364, allocations: 144.2 kB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.2365, allocations: 4 kB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2366, allocations: 11.94 kB / 0.9914 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.2366, allocations: 8 kB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2367, allocations: 7.984 kB / 0.9914 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000512/0.2372, allocations: 0.5575 MB / 0.992 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2372, allocations: 4 kB / 0.992 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004206/0.2376, allocations: 120 kB / 0.9921 GB, free: 14.3 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.0003789/0.238, allocations: 183.2 kB / 0.9923 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.2383, allocations: 207.3 kB / 0.9925 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2383, allocations: 0 / 0.9925 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.2384, allocations: 147.4 kB / 0.9926 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.2388, allocations: 103 kB / 0.9927 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2401, allocations: 1.104 MB / 0.9938 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.2404, allocations: 0.978 MB / 0.9947 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.182e-05/0.2405, allocations: 21.53 kB / 0.9948 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.2406, allocations: 15.44 kB / 0.9948 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2406, allocations: 0 / 0.9948 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.008695/0.2493, allocations: 4.851 MB / 0.9995 GB, free: 6.699 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)