Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.051/3.051, allocations: 287.3 MB / 302.3 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 190.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 84.3 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007337/0.0007339, allocations: 13.97 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2442, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00251/0.2467, allocations: 1.628 MB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003641/0.2504, allocations: 2.208 MB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.2507, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.2526, allocations: 0.4946 MB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.2528, allocations: 55.88 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.254, allocations: 193.6 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.2545, allocations: 255.5 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.2547, allocations: 84.94 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2549, allocations: 103.5 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.2551, allocations: 115.4 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.2551, allocations: 4 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006389/0.2558, allocations: 263.6 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2559, allocations: 91.59 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.256, allocations: 121.4 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007993/0.2568, allocations: 0.5885 MB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2568, allocations: 0 / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.937e-06/0.2569, allocations: 0 / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.2569, allocations: 7.938 kB / 0.9843 GB, free: 22.06 MB / 0.6198 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.001198/0.2581, allocations: 0.7713 MB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.2582, allocations: 8.031 kB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.2582, allocations: 46.55 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.2583, allocations: 63.2 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.2588, allocations: 323.9 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2588, allocations: 8 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.2588, allocations: 8 kB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.2591, allocations: 135.6 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2592, allocations: 0 / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2592, allocations: 4 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.2592, allocations: 4 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.2594, allocations: 100.1 kB / 0.9858 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.2604, allocations: 0.5358 MB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.2606, allocations: 106.6 kB / 0.9864 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/0.2607, allocations: 12.09 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.261, allocations: 129.1 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.815e-06/0.261, allocations: 0 / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.000673/0.2617, allocations: 379.5 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.2617, allocations: 89.09 kB / 0.987 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.2629, allocations: 0.7542 MB / 0.9877 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.263, allocations: 25.7 kB / 0.9877 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.2633, allocations: 288.1 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.2633, allocations: 23.7 kB / 0.988 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.2633, allocations: 0 / 0.988 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.2634, allocations: 310 kB / 0.9883 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.2635, allocations: 51.86 kB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-05/0.2636, allocations: 48.3 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.2638, allocations: 85.62 kB / 0.9885 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2638, allocations: 4 kB / 0.9885 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004325/0.2642, allocations: 254.6 kB / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.2643, allocations: 41.69 kB / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2643, allocations: 0 / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2644, allocations: 0 / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2645, allocations: 8 kB / 0.9888 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2645, allocations: 0 / 0.9888 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.2647, allocations: 19.83 kB / 0.9888 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.2648, allocations: 4 kB / 0.9888 GB, free: 17.19 MB / 0.6198 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,greaterThreshold.y,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.000433/0.2652, allocations: 339.3 kB / 0.9891 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.2653, allocations: 67.23 kB / 0.9892 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005833/0.2659, allocations: 292.6 kB / 0.9895 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2659, allocations: 0 / 0.9895 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2659, allocations: 0 / 0.9895 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2659, allocations: 0 / 0.9895 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.2664, allocations: 365.5 kB / 0.9898 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2664, allocations: 3.953 kB / 0.9898 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.2665, allocations: 11.98 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.2665, allocations: 4 kB / 0.9899 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.2665, allocations: 4 kB / 0.9899 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2665, allocations: 4.062 kB / 0.9899 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2666, allocations: 4 kB / 0.9899 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.267, allocations: 301.9 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.2672, allocations: 152.2 kB / 0.9903 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.2673, allocations: 4 kB / 0.9903 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.2675, allocations: 11.98 kB / 0.9903 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.2676, allocations: 8 kB / 0.9903 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.2676, allocations: 15.97 kB / 0.9903 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009455/0.2686, allocations: 0.5536 MB / 0.9909 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2686, allocations: 0 / 0.9909 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005812/0.2692, allocations: 116 kB / 0.991 GB, free: 14.84 MB / 0.6198 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 (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.001187/0.2704, allocations: 0.9354 MB / 0.9919 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000373/0.2708, allocations: 211.2 kB / 0.9921 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2708, allocations: 0 / 0.9921 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.271, allocations: 147.3 kB / 0.9922 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.2717, allocations: 98.86 kB / 0.9923 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/0.2776, allocations: 3.277 MB / 0.9955 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.2782, allocations: 0.9777 MB / 0.9965 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.2784, allocations: 17.55 kB / 0.9965 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.2786, allocations: 151.4 kB / 0.9967 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of SimCode: time 1.242e-06/0.2786, allocations: 0 / 0.9967 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.3174, allocations: 10.65 MB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.3177, allocations: 203.6 kB / 1.007 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/3.328, allocations: 0 / 1.007 GB, free: 14.22 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)