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.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001241/0.001241, allocations: 195 kB / 16.14 MB, free: 6.711 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.516/1.516, allocations: 205.1 MB / 222 MB, free: 4.969 MB / 174.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.657/1.657, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.002595/0.002595, allocations: 63.03 kB / 0.6708 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2736, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003468/0.2771, allocations: 2.044 MB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.2806, allocations: 2.575 MB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.2808, allocations: 4 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.2823, allocations: 478.3 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.2824, allocations: 51.73 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.2832, allocations: 210.4 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.2836, allocations: 303.6 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2838, allocations: 80.72 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2839, allocations: 95.52 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.284, allocations: 139.2 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.2841, allocations: 8 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.2845, allocations: 299.6 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2846, allocations: 99.55 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.2848, allocations: 206.5 kB / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007863/0.2856, allocations: 0.7594 MB / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2856, allocations: 0 / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2857, allocations: 0 / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2857, allocations: 0 / 0.7898 GB, free: 6.664 MB / 0.6075 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.001157/0.2868, allocations: 0.8411 MB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2869, allocations: 8.031 kB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.287, allocations: 60.19 kB / 0.7907 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.2874, allocations: 368.4 kB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.2874, allocations: 12.36 kB / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.2875, allocations: 12.12 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.2877, allocations: 125.6 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2877, allocations: 0 / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2877, allocations: 4 kB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2877, allocations: 0 / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.2879, allocations: 103.9 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.2887, allocations: 0.5354 MB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.2888, allocations: 110.6 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.952e-05/0.2889, allocations: 64.91 kB / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.289, allocations: 11.97 kB / 0.792 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.2893, allocations: 129.1 kB / 0.7921 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/0.2893, allocations: 0 / 0.7921 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004902/0.2898, allocations: 310.5 kB / 0.7924 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.2898, allocations: 81.11 kB / 0.7925 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000833/0.2907, allocations: 0.7619 MB / 0.7932 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.2907, allocations: 29.7 kB / 0.7933 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.2909, allocations: 268.3 kB / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.291, allocations: 31.64 kB / 0.7936 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.291, allocations: 29.72 kB / 0.7936 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2911, allocations: 310 kB / 0.7939 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.2912, allocations: 48.05 kB / 0.7939 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.2913, allocations: 51.97 kB / 0.794 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.2915, allocations: 160.1 kB / 0.7941 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2915, allocations: 7.938 kB / 0.7941 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003145/0.2918, allocations: 258.6 kB / 0.7944 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.2919, allocations: 33.7 kB / 0.7944 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2919, allocations: 0 / 0.7944 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2919, allocations: 4 kB / 0.7944 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/0.292, allocations: 11.98 kB / 0.7944 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.292, allocations: 0 / 0.7944 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.2921, allocations: 11.84 kB / 0.7944 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.2921, allocations: 4 kB / 0.7944 GB, free: 1.645 MB / 0.6075 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.0003099/0.2925, allocations: 339.3 kB / 0.7948 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.2925, allocations: 63.25 kB / 0.7948 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.2929, allocations: 292.6 kB / 0.7951 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.293, allocations: 0 / 0.7951 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.293, allocations: 4 kB / 0.7951 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.293, allocations: 0 / 0.7951 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.2934, allocations: 377.3 kB / 0.7955 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2934, allocations: 4 kB / 0.7955 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.2934, allocations: 4 kB / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2934, allocations: 0 / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2934, allocations: 8 kB / 0.7955 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2934, allocations: 0 / 0.7955 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2935, allocations: 3.938 kB / 0.7955 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.2938, allocations: 318.2 kB / 0.7958 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.294, allocations: 148.4 kB / 0.7959 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.294, allocations: 4 kB / 0.7959 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2941, allocations: 4 kB / 0.7959 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.2942, allocations: 11.98 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.2942, allocations: 4 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006294/0.2949, allocations: 0.5653 MB / 0.7965 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2949, allocations: 0 / 0.7965 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004129/0.2953, allocations: 127.9 kB / 0.7966 GB, free: 15.28 MB / 0.6231 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.000392/0.2957, allocations: 187.1 kB / 0.7968 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.296, allocations: 203.3 kB / 0.797 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.296, allocations: 0 / 0.797 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2962, allocations: 147.5 kB / 0.7971 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.2967, allocations: 105.2 kB / 0.7972 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2982, allocations: 1.141 MB / 0.7984 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.2988, allocations: 0.9663 MB / 0.7993 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.348e-05/0.2988, allocations: 17.56 kB / 0.7993 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.2989, allocations: 15.44 kB / 0.7993 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.2989, allocations: 0 / 0.7993 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.009422/0.3083, allocations: 4.965 MB / 0.8042 GB, free: 7.555 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)