Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 105.1 kB / 16.35 MB, free: 5.879 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.001047/0.001047, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.356/1.356, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.826/1.826, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.00201/0.00201, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2301, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.004243/0.2344, allocations: 1.986 MB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4408/0.6753, allocations: 2.534 MB / 0.7892 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.6755, allocations: 2.625 kB / 0.7892 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.6768, allocations: 484.1 kB / 0.7897 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.677, allocations: 57.56 kB / 0.7897 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/0.678, allocations: 278.1 kB / 0.79 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.6784, allocations: 304.7 kB / 0.7903 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.6786, allocations: 93.38 kB / 0.7904 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.6787, allocations: 101.8 kB / 0.7905 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.6789, allocations: 127.8 kB / 0.7906 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.679, allocations: 8.219 kB / 0.7906 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.6795, allocations: 323.9 kB / 0.7909 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.6796, allocations: 96 kB / 0.791 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.6798, allocations: 206.2 kB / 0.7912 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007742/0.6806, allocations: 0.7767 MB / 0.7919 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.6806, allocations: 5.844 kB / 0.792 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6806, allocations: 0 / 0.792 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.6807, allocations: 0 / 0.792 GB, free: 46.26 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009076/0.6816, allocations: 0.8405 MB / 0.7928 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6816, allocations: 10.59 kB / 0.7928 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.6817, allocations: 66.47 kB / 0.7928 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.6821, allocations: 363.2 kB / 0.7932 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.6821, allocations: 4.312 kB / 0.7932 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.6821, allocations: 11.28 kB / 0.7932 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.6823, allocations: 125.5 kB / 0.7933 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6824, allocations: 0.5156 kB / 0.7933 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.6824, allocations: 3.312 kB / 0.7933 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.6824, allocations: 7.203 kB / 0.7933 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.6825, allocations: 96.05 kB / 0.7934 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.6832, allocations: 0.5527 MB / 0.794 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.6834, allocations: 101.9 kB / 0.7941 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.6835, allocations: 60.84 kB / 0.7941 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.6835, allocations: 15.08 kB / 0.7941 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.6838, allocations: 137.9 kB / 0.7943 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.6838, allocations: 0 / 0.7943 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004316/0.6843, allocations: 295.2 kB / 0.7946 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.6843, allocations: 82.05 kB / 0.7946 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007436/0.6851, allocations: 0.765 MB / 0.7954 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.6851, allocations: 25.7 kB / 0.7954 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.6853, allocations: 279.6 kB / 0.7957 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.6853, allocations: 29.38 kB / 0.7957 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.6854, allocations: 26.7 kB / 0.7957 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.6854, allocations: 313 kB / 0.796 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.869e-05/0.6855, allocations: 47.95 kB / 0.7961 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.6856, allocations: 45.33 kB / 0.7961 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.6857, allocations: 159.3 kB / 0.7963 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6857, allocations: 0 / 0.7963 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002645/0.686, allocations: 265.4 kB / 0.7965 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.686, allocations: 39.64 kB / 0.7966 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6861, allocations: 4 kB / 0.7966 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.6861, allocations: 0 / 0.7966 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.6862, allocations: 14.44 kB / 0.7966 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6862, allocations: 0 / 0.7966 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.6863, allocations: 17.17 kB / 0.7966 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.6863, allocations: 3.406 kB / 0.7966 GB, free: 43.84 MB / 0.6544 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 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.6866, allocations: 332.3 kB / 0.7969 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.6866, allocations: 65.44 kB / 0.797 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.687, allocations: 292.4 kB / 0.7972 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.687, allocations: 1.5 kB / 0.7972 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.687, allocations: 0 / 0.7972 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.687, allocations: 8.406 kB / 0.7973 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.6874, allocations: 376.9 kB / 0.7976 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6874, allocations: 0 / 0.7976 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.6874, allocations: 8.594 kB / 0.7976 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6874, allocations: 0 / 0.7976 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.6875, allocations: 2.781 kB / 0.7976 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6875, allocations: 0 / 0.7976 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6875, allocations: 1.875 kB / 0.7976 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.6879, allocations: 314.7 kB / 0.7979 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.688, allocations: 141.1 kB / 0.7981 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.688, allocations: 2.844 kB / 0.7981 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.6882, allocations: 7.453 kB / 0.7981 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.6882, allocations: 9.078 kB / 0.7981 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.6882, allocations: 2.719 kB / 0.7981 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006101/0.6889, allocations: 0.5666 MB / 0.7986 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6889, allocations: 4.844 kB / 0.7986 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004713/0.6893, allocations: 121.8 kB / 0.7988 GB, free: 43.02 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: 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 (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.0004094/0.6898, allocations: 188.5 kB / 0.7989 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.6901, allocations: 209.7 kB / 0.7991 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6901, allocations: 0 / 0.7991 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.6902, allocations: 148.9 kB / 0.7993 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.6907, allocations: 108.3 kB / 0.7994 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.6923, allocations: 1.019 MB / 0.8004 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.6928, allocations: 0.9627 MB / 0.8013 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.99e-05/0.6929, allocations: 24.69 kB / 0.8013 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.6929, allocations: 14.3 kB / 0.8014 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of SimCode: time 1.353e-06/0.6929, allocations: 0 / 0.8014 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.01386/0.7068, allocations: 5.176 MB / 0.8064 GB, free: 41.49 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)