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 2.724/2.724, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001286/0.001286, allocations: 184.5 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 0.6297 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.0009749/0.0009745, allocations: 97.95 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007076/0.0007082, allocations: 17.75 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2328, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002564/0.2355, allocations: 1.663 MB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003684/0.2392, allocations: 2.32 MB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.2394, allocations: 0 / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.2411, allocations: 462.3 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.2413, allocations: 47.75 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2424, allocations: 208.4 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.2428, allocations: 279.4 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.243, allocations: 72.72 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.2432, allocations: 107.5 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.2434, allocations: 115.4 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.2434, allocations: 4 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006638/0.2441, allocations: 291.5 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2442, allocations: 87.61 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.2443, allocations: 121.4 kB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007638/0.2451, allocations: 0.5963 MB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2451, allocations: 0 / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2451, allocations: 3.938 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2452, allocations: 0 / 0.9846 GB, free: 21.96 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.001097/0.2463, allocations: 0.7773 MB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2463, allocations: 8.031 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.2464, allocations: 67.2 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.2468, allocations: 335.8 kB / 0.9857 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2469, allocations: 8 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.2469, allocations: 4 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.2472, allocations: 133.1 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2472, allocations: 0 / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.2473, allocations: 7.984 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2473, allocations: 4 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.2475, allocations: 100.1 kB / 0.986 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.2484, allocations: 0.5397 MB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.2487, allocations: 106.5 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2488, allocations: 64.97 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/0.2489, allocations: 4 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.2491, allocations: 137 kB / 0.9868 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.575e-06/0.2491, allocations: 0 / 0.9868 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005895/0.2497, allocations: 306.5 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2498, allocations: 81.09 kB / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.2509, allocations: 0.7542 MB / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2509, allocations: 33.7 kB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.2512, allocations: 276.2 kB / 0.9882 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.2513, allocations: 23.66 kB / 0.9882 GB, free: 18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/0.2513, allocations: 0 / 0.9882 GB, free: 18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.2514, allocations: 318 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2515, allocations: 43.98 kB / 0.9885 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.2516, allocations: 51.91 kB / 0.9886 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.2517, allocations: 69.69 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2518, allocations: 3.953 kB / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004165/0.2522, allocations: 262.6 kB / 0.9889 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.2522, allocations: 37.69 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.2523, allocations: 0 / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2523, allocations: 0 / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.2524, allocations: 11.94 kB / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2524, allocations: 160 / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.2527, allocations: 15.83 kB / 0.989 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.2527, allocations: 8 kB / 0.989 GB, free: 17.16 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.0004153/0.2531, allocations: 331.4 kB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.2532, allocations: 63.3 kB / 0.9894 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.2538, allocations: 304.9 kB / 0.9897 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2538, allocations: 0 / 0.9897 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2538, allocations: 3.938 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2538, allocations: 4 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.2543, allocations: 361.5 kB / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2543, allocations: 0 / 0.99 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.2544, allocations: 11.94 kB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2544, allocations: 0 / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.2544, allocations: 8 kB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.2544, allocations: 7.984 kB / 0.99 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2544, allocations: 0 / 0.99 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.2549, allocations: 313.8 kB / 0.9903 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.255, allocations: 136.3 kB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/0.2551, allocations: 7.953 kB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.2553, allocations: 7.984 kB / 0.9905 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.2554, allocations: 8 kB / 0.9905 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.2554, allocations: 11.98 kB / 0.9905 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008717/0.2563, allocations: 0.5614 MB / 0.991 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2563, allocations: 0 / 0.991 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000546/0.2569, allocations: 123.9 kB / 0.9912 GB, free: 14.81 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.0004715/0.2574, allocations: 191.2 kB / 0.9913 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.2578, allocations: 199.3 kB / 0.9915 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2578, allocations: 0 / 0.9915 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.258, allocations: 155.3 kB / 0.9917 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.2588, allocations: 103.2 kB / 0.9918 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.2607, allocations: 1.094 MB / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.2613, allocations: 0.9663 MB / 0.9938 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000136/0.2614, allocations: 17.5 kB / 0.9938 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.2615, allocations: 15.44 kB / 0.9938 GB, free: 12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2615, allocations: 4 kB / 0.9938 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.01422/0.2757, allocations: 4.86 MB / 0.9986 GB, free: 7.172 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)