Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.688/1.688, allocations: 287.5 MB / 302.6 MB, free: 8.207 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.001183/0.001183, allocations: 180.4 kB / 371.2 MB, free: 10.83 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.429/1.429, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007994/0.0007994, allocations: 99.22 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004847, allocations: 12.3 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2255, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.001978/0.2275, allocations: 1.662 MB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.2299, allocations: 2.309 MB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.2301, allocations: 7.875 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.2312, allocations: 462.3 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.2314, allocations: 59.72 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.2321, allocations: 200.3 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.2324, allocations: 283.3 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2326, allocations: 88.72 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2327, allocations: 99.52 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.2328, allocations: 115.4 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.2329, allocations: 4 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.2333, allocations: 287.6 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.201e-05/0.2334, allocations: 87.67 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.2334, allocations: 117.4 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.2339, allocations: 0.6002 MB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2339, allocations: 0 / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.234, allocations: 4 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.234, allocations: 0 / 0.9849 GB, free: 21.8 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.0008138/0.2348, allocations: 0.7676 MB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2348, allocations: 8.031 kB / 0.9857 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.2349, allocations: 72.19 kB / 0.9857 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.2352, allocations: 360.4 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2352, allocations: 4.375 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2353, allocations: 12.12 kB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2354, allocations: 124 kB / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2355, allocations: 4 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2355, allocations: 7.938 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2355, allocations: 0 / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.2356, allocations: 95.94 kB / 0.9863 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.2363, allocations: 0.5393 MB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.2364, allocations: 106.7 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/0.2365, allocations: 60.97 kB / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.2365, allocations: 8 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.2367, allocations: 148.9 kB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.2367, allocations: 0 / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0004111/0.2371, allocations: 294.6 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.2372, allocations: 85.11 kB / 0.9875 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006661/0.2379, allocations: 0.7542 MB / 0.9882 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.2379, allocations: 25.7 kB / 0.9883 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.238, allocations: 276.2 kB / 0.9885 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.2381, allocations: 31.64 kB / 0.9886 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.2381, allocations: 4 kB / 0.9886 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.2381, allocations: 306 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.2382, allocations: 47.97 kB / 0.9889 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/0.2383, allocations: 51.86 kB / 0.9889 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2384, allocations: 164.5 kB / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2384, allocations: 3.938 kB / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002452/0.2387, allocations: 258.6 kB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.2387, allocations: 33.69 kB / 0.9894 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2387, allocations: 8 kB / 0.9894 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2387, allocations: 0 / 0.9894 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.2388, allocations: 4 kB / 0.9894 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.2388, allocations: 4 kB / 0.9894 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2389, allocations: 15.84 kB / 0.9894 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.239, allocations: 7.984 kB / 0.9894 GB, free: 16.89 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.0002498/0.2392, allocations: 343.2 kB / 0.9897 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.2393, allocations: 59.25 kB / 0.9898 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.2396, allocations: 300.6 kB / 0.9901 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2396, allocations: 0 / 0.9901 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2396, allocations: 0 / 0.9901 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2396, allocations: 4 kB / 0.9901 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.2399, allocations: 365.4 kB / 0.9904 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2399, allocations: 0 / 0.9904 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.24, allocations: 8.109 kB / 0.9905 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.24, allocations: 0 / 0.9905 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.24, allocations: 15.94 kB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.24, allocations: 0 / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.24, allocations: 0 / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.2403, allocations: 317.8 kB / 0.9908 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/0.2404, allocations: 140.3 kB / 0.9909 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.2404, allocations: 4 kB / 0.9909 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.2405, allocations: 11.98 kB / 0.9909 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.2406, allocations: 4 kB / 0.9909 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2406, allocations: 4 kB / 0.9909 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005012/0.2411, allocations: 0.5614 MB / 0.9915 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2411, allocations: 0 / 0.9915 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003676/0.2415, allocations: 124 kB / 0.9916 GB, free: 14.54 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.0003221/0.2418, allocations: 187.2 kB / 0.9918 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.2421, allocations: 203.3 kB / 0.992 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2421, allocations: 0 / 0.992 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.2422, allocations: 147.4 kB / 0.9921 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.2427, allocations: 106.7 kB / 0.9922 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.2439, allocations: 1.103 MB / 0.9933 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.2443, allocations: 0.9624 MB / 0.9942 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.127e-05/0.2444, allocations: 17.55 kB / 0.9942 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.2444, allocations: 15.44 kB / 0.9943 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2444, allocations: 0 / 0.9943 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.008367/0.2528, allocations: 4.862 MB / 0.999 GB, free: 6.906 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)