Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.007198/0.007198, allocations: 97.94 kB / 15.73 MB, free: 6.055 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.001318/0.001318, allocations: 195.8 kB / 16.67 MB, free: 5.969 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.324 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.561/1.561, allocations: 251.7 MB / 0.5094 GB, free: 3.102 MB / 414.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.001396/0.001396, allocations: 75.89 kB / 0.7258 GB, free: 8.941 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2515, allocations: 104.7 MB / 0.8281 GB, free: 136 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.004175/0.2557, allocations: 1.99 MB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004234/0.26, allocations: 2.547 MB / 0.8325 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2602, allocations: 8 kB / 0.8325 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.2618, allocations: 477.9 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.262, allocations: 63.67 kB / 0.833 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.2632, allocations: 275.3 kB / 0.8333 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005298/0.2637, allocations: 316.6 kB / 0.8336 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.264, allocations: 84.66 kB / 0.8337 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.2642, allocations: 99.52 kB / 0.8338 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.2644, allocations: 131.2 kB / 0.8339 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.2645, allocations: 8 kB / 0.8339 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007341/0.2652, allocations: 319.6 kB / 0.8342 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.2654, allocations: 99.55 kB / 0.8343 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.2656, allocations: 206.6 kB / 0.8345 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.2668, allocations: 0.7788 MB / 0.8353 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2668, allocations: 0 / 0.8353 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2668, allocations: 0 / 0.8353 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.2668, allocations: 0 / 0.8353 GB, free: 8.734 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.001401/0.2682, allocations: 0.8356 MB / 0.8361 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2683, allocations: 15.97 kB / 0.8361 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2684, allocations: 64.19 kB / 0.8362 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.269, allocations: 360.5 kB / 0.8365 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.269, allocations: 8.375 kB / 0.8365 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.269, allocations: 8.375 kB / 0.8365 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.2693, allocations: 133.9 kB / 0.8367 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2694, allocations: 0 / 0.8367 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.2694, allocations: 4 kB / 0.8367 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2694, allocations: 0 / 0.8367 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.2696, allocations: 99.86 kB / 0.8368 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009912/0.2706, allocations: 0.5393 MB / 0.8373 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.2709, allocations: 106.5 kB / 0.8374 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.271, allocations: 56.98 kB / 0.8374 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/0.2711, allocations: 16.14 kB / 0.8374 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.2714, allocations: 145 kB / 0.8376 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.904e-06/0.2714, allocations: 0 / 0.8376 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.000606/0.272, allocations: 306.8 kB / 0.8379 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.2721, allocations: 77.11 kB / 0.838 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.2733, allocations: 0.762 MB / 0.8387 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.2734, allocations: 29.7 kB / 0.8387 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.2737, allocations: 272.2 kB / 0.839 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.2737, allocations: 27.61 kB / 0.839 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.2738, allocations: 37.7 kB / 0.839 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2739, allocations: 306 kB / 0.8393 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.2741, allocations: 51.97 kB / 0.8394 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.2742, allocations: 55.86 kB / 0.8394 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.2744, allocations: 152.2 kB / 0.8396 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2744, allocations: 3.938 kB / 0.8396 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005062/0.2749, allocations: 266.5 kB / 0.8398 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.275, allocations: 29.7 kB / 0.8399 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.275, allocations: 4 kB / 0.8399 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.275, allocations: 7.984 kB / 0.8399 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2752, allocations: 8 kB / 0.8399 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.2752, allocations: 0 / 0.8399 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.2753, allocations: 11.88 kB / 0.8399 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.2754, allocations: 4 kB / 0.8399 GB, free: 3.707 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.0004308/0.2758, allocations: 331.4 kB / 0.8402 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2759, allocations: 71.19 kB / 0.8403 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.2765, allocations: 292.5 kB / 0.8406 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2765, allocations: 0 / 0.8406 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2766, allocations: 7.984 kB / 0.8406 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2766, allocations: 0 / 0.8406 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.2771, allocations: 365.5 kB / 0.8409 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2771, allocations: 3.938 kB / 0.8409 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.2771, allocations: 11.94 kB / 0.8409 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2771, allocations: 0 / 0.8409 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.2772, allocations: 7.984 kB / 0.8409 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2772, allocations: 3.938 kB / 0.841 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2772, allocations: 0 / 0.841 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.2777, allocations: 306 kB / 0.8412 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.2779, allocations: 148.2 kB / 0.8414 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.278, allocations: 7.938 kB / 0.8414 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2781, allocations: 4 kB / 0.8414 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.2782, allocations: 11.98 kB / 0.8414 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.2782, allocations: 4.188 kB / 0.8414 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009672/0.2792, allocations: 0.5653 MB / 0.842 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2792, allocations: 0 / 0.842 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006942/0.2799, allocations: 127.9 kB / 0.8421 GB, free: 1.352 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.0006049/0.2805, allocations: 194.2 kB / 0.8423 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.281, allocations: 203.3 kB / 0.8425 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.281, allocations: 0 / 0.8425 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.2813, allocations: 147.4 kB / 0.8426 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007641/0.282, allocations: 111 kB / 0.8427 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.2844, allocations: 1.018 MB / 0.8437 GB, free: 15.63 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007313/0.2851, allocations: 0.9698 MB / 0.8447 GB, free: 14.63 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.2853, allocations: 21.55 kB / 0.8447 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.2853, allocations: 19.42 kB / 0.8447 GB, free: 14.59 MB / 0.67 GB Notification: Performance of SimCode: time 1.022e-06/0.2853, allocations: 0 / 0.8447 GB, free: 14.59 MB / 0.67 GB Notification: Performance of Templates: time 0.01496/0.3003, allocations: 5.18 MB / 0.8498 GB, free: 9.516 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)