Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.17/2.17, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 178.4 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.624/2.624, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009524/0.000952, allocations: 87.84 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.000472, allocations: 15.81 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.206, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2342/0.4403, allocations: 138.5 MB / 1.035 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/0.4407, allocations: 103.9 kB / 1.035 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05937/0.5001, allocations: 12.97 MB / 1.048 GB, free: 9.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5001, allocations: 0 / 1.048 GB, free: 9.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.479e-05/0.5002, allocations: 8 kB / 1.048 GB, free: 9.672 MB / 0.698 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.001527/0.5017, allocations: 0.8179 MB / 1.048 GB, free: 8.793 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5018, allocations: 8.031 kB / 1.048 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.5019, allocations: 60.19 kB / 1.048 GB, free: 8.727 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.5026, allocations: 345.1 kB / 1.049 GB, free: 8.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.5026, allocations: 4.375 kB / 1.049 GB, free: 8.348 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.5027, allocations: 16.31 kB / 1.049 GB, free: 8.332 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.503, allocations: 134.2 kB / 1.049 GB, free: 8.195 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5031, allocations: 8 kB / 1.049 GB, free: 8.188 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.5031, allocations: 4 kB / 1.049 GB, free: 8.184 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5031, allocations: 0 / 1.049 GB, free: 8.184 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.5034, allocations: 103.9 kB / 1.049 GB, free: 8.082 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.5047, allocations: 0.551 MB / 1.05 GB, free: 7.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.505, allocations: 118.4 kB / 1.05 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.5052, allocations: 68.97 kB / 1.05 GB, free: 7.285 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.5053, allocations: 4 kB / 1.05 GB, free: 7.281 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.5056, allocations: 149.1 kB / 1.05 GB, free: 7.117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 5.009e-06/0.5056, allocations: 4 kB / 1.05 GB, free: 7.113 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0008726/0.5065, allocations: 334.6 kB / 1.05 GB, free: 6.773 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.5066, allocations: 89.03 kB / 1.05 GB, free: 6.668 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.5082, allocations: 0.758 MB / 1.051 GB, free: 5.898 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.5083, allocations: 25.7 kB / 1.051 GB, free: 5.867 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.5086, allocations: 276.3 kB / 1.051 GB, free: 5.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.5087, allocations: 15.72 kB / 1.051 GB, free: 5.574 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.5087, allocations: 8 kB / 1.051 GB, free: 5.566 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5089, allocations: 306 kB / 1.052 GB, free: 5.262 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.5091, allocations: 63.89 kB / 1.052 GB, free: 5.199 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.5092, allocations: 55.95 kB / 1.052 GB, free: 5.145 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.5094, allocations: 81.67 kB / 1.052 GB, free: 5.059 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5094, allocations: 0 / 1.052 GB, free: 5.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006541/0.5101, allocations: 294.5 kB / 1.052 GB, free: 4.758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.5102, allocations: 33.64 kB / 1.052 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5102, allocations: 8 kB / 1.052 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5102, allocations: 0 / 1.052 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5103, allocations: 15.92 kB / 1.052 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5103, allocations: 0 / 1.052 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.5106, allocations: 11.94 kB / 1.052 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.5106, allocations: 8 kB / 1.052 GB, free: 4.676 MB / 0.698 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,booleanToInteger.u,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.0005915/0.5112, allocations: 337.2 kB / 1.052 GB, free: 4.332 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.5114, allocations: 67.19 kB / 1.053 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008468/0.5122, allocations: 320.6 kB / 1.053 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5123, allocations: 0 / 1.053 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5123, allocations: 0 / 1.053 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5123, allocations: 7.938 kB / 1.053 GB, free: 3.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.5129, allocations: 369.4 kB / 1.053 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.5129, allocations: 3.984 kB / 1.053 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.513, allocations: 12 kB / 1.053 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.5131, allocations: 3.938 kB / 1.053 GB, free: 3.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.5131, allocations: 4 kB / 1.053 GB, free: 3.496 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.5131, allocations: 0 / 1.053 GB, free: 3.496 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5131, allocations: 0 / 1.053 GB, free: 3.496 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.5138, allocations: 330 kB / 1.054 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.5141, allocations: 152.3 kB / 1.054 GB, free: 2.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.5142, allocations: 7.984 kB / 1.054 GB, free: 2.973 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.5144, allocations: 7.938 kB / 1.054 GB, free: 2.965 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.5145, allocations: 4 kB / 1.054 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.5145, allocations: 15.98 kB / 1.054 GB, free: 2.945 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001201/0.5157, allocations: 0.5574 MB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5157, allocations: 0 / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007461/0.5165, allocations: 147.9 kB / 1.054 GB, free: 2.246 MB / 0.698 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,booleanToInteger.u,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.0008999/0.5174, allocations: 363.8 kB / 1.055 GB, free: 1.887 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.5179, allocations: 203.3 kB / 1.055 GB, free: 1.676 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5179, allocations: 0 / 1.055 GB, free: 1.676 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.5182, allocations: 151.3 kB / 1.055 GB, free: 1.516 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008492/0.519, allocations: 99.11 kB / 1.055 GB, free: 1.422 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.5215, allocations: 1.094 MB / 1.056 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5668/1.088, allocations: 0.9584 MB / 1.057 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000174/1.089, allocations: 19.77 kB / 1.057 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/1.089, allocations: 16.62 kB / 1.057 GB, free: 147.9 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.089, allocations: 1.469 kB / 1.057 GB, free: 147.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02078/1.109, allocations: 6.26 MB / 1.063 GB, free: 147.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)