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.001127/0.001127, allocations: 104.5 kB / 16.27 MB, free: 6.004 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.001107/0.001107, allocations: 186.8 kB / 17.2 MB, free: 5.617 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.565/1.565, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.78/1.78, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.00157/0.00157, allocations: 71.89 kB / 0.6722 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2616, allocations: 114.5 MB / 0.784 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.004282/0.266, allocations: 1.993 MB / 0.786 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4432/0.7092, allocations: 2.531 MB / 0.7885 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.7094, allocations: 2.906 kB / 0.7885 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.7108, allocations: 485.1 kB / 0.7889 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.711, allocations: 65.89 kB / 0.789 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009479/0.7119, allocations: 276.5 kB / 0.7892 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.7123, allocations: 300.6 kB / 0.7895 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.7125, allocations: 86.92 kB / 0.7896 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.7126, allocations: 102.7 kB / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.7127, allocations: 129.8 kB / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.7128, allocations: 9.219 kB / 0.7898 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.7132, allocations: 316.9 kB / 0.7901 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.7134, allocations: 91.12 kB / 0.7902 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.7135, allocations: 207.2 kB / 0.7904 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.7144, allocations: 0.7728 MB / 0.7912 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.7144, allocations: 1.734 kB / 0.7912 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7144, allocations: 1.281 kB / 0.7912 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.7144, allocations: 0 / 0.7912 GB, free: 45.53 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.001037/0.7155, allocations: 0.8409 MB / 0.792 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.7155, allocations: 10.41 kB / 0.792 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.7156, allocations: 59.66 kB / 0.7921 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.7159, allocations: 369.2 kB / 0.7924 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.716, allocations: 5.312 kB / 0.7924 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.716, allocations: 11.22 kB / 0.7924 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.7162, allocations: 125.4 kB / 0.7926 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7163, allocations: 0 / 0.7926 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.7163, allocations: 12.7 kB / 0.7926 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7163, allocations: 0 / 0.7926 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.7164, allocations: 96.58 kB / 0.7927 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.7171, allocations: 0.5386 MB / 0.7932 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.7173, allocations: 111.6 kB / 0.7933 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/0.7174, allocations: 62.67 kB / 0.7934 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.7174, allocations: 7.375 kB / 0.7934 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.7177, allocations: 135.4 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 3.116e-06/0.7177, allocations: 3.156 kB / 0.7935 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004429/0.7182, allocations: 299.1 kB / 0.7938 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.7182, allocations: 85.7 kB / 0.7939 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007792/0.719, allocations: 0.7631 MB / 0.7946 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.7191, allocations: 25.7 kB / 0.7946 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.7193, allocations: 274.6 kB / 0.7949 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.7193, allocations: 30.92 kB / 0.7949 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.7194, allocations: 32.48 kB / 0.795 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.7194, allocations: 310.6 kB / 0.7953 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.7195, allocations: 46.12 kB / 0.7953 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.843e-05/0.7196, allocations: 51.11 kB / 0.7953 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.7197, allocations: 153.2 kB / 0.7955 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7197, allocations: 0 / 0.7955 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002576/0.72, allocations: 274.4 kB / 0.7958 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.72, allocations: 32.39 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.72, allocations: 1.156 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.72, allocations: 0 / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.7201, allocations: 13.27 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.7202, allocations: 0.5 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.7203, allocations: 13.38 kB / 0.7958 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.7203, allocations: 6.422 kB / 0.7958 GB, free: 43.15 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.0002542/0.7206, allocations: 334.7 kB / 0.7961 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.7206, allocations: 65.81 kB / 0.7962 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.721, allocations: 292 kB / 0.7965 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.721, allocations: 6.812 kB / 0.7965 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7211, allocations: 1.031 kB / 0.7965 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7211, allocations: 0 / 0.7965 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.7214, allocations: 379.7 kB / 0.7969 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7214, allocations: 0 / 0.7969 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.7215, allocations: 5.094 kB / 0.7969 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.7215, allocations: 0 / 0.7969 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.7215, allocations: 12.59 kB / 0.7969 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7215, allocations: 0 / 0.7969 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7215, allocations: 2.531 kB / 0.7969 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.7219, allocations: 306.4 kB / 0.7972 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.722, allocations: 139.6 kB / 0.7973 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.7221, allocations: 9.969 kB / 0.7973 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.7222, allocations: 6.125 kB / 0.7973 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.7223, allocations: 9.375 kB / 0.7973 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.7223, allocations: 11.58 kB / 0.7973 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006464/0.7229, allocations: 0.5621 MB / 0.7979 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.723, allocations: 0 / 0.7979 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005621/0.7235, allocations: 121 kB / 0.798 GB, free: 42.32 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.0004504/0.724, allocations: 191.5 kB / 0.7982 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.7243, allocations: 208.4 kB / 0.7984 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7243, allocations: 0 / 0.7984 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.7245, allocations: 154 kB / 0.7985 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.725, allocations: 106.1 kB / 0.7986 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.7266, allocations: 1.084 MB / 0.7997 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.727, allocations: 0.9621 MB / 0.8006 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.7271, allocations: 15.22 kB / 0.8006 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.7271, allocations: 0 / 0.8006 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.01337/0.7404, allocations: 6.307 MB / 0.8068 GB, free: 40.54 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)