Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.527/1.527, allocations: 288.4 MB / 303.6 MB, free: 8.07 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.0009893/0.0009893, allocations: 176.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0009308/0.0009308, allocations: 93.2 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 13.75 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.001749/0.1683, allocations: 1.655 MB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.1705, allocations: 2.324 MB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.1706, allocations: 4 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009371/0.1716, allocations: 462.4 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.1717, allocations: 55.72 kB / 0.9846 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.1723, allocations: 201.8 kB / 0.9848 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.1725, allocations: 275.7 kB / 0.985 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.1727, allocations: 88.69 kB / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.837e-05/0.1728, allocations: 95.53 kB / 0.9852 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1729, allocations: 123.4 kB / 0.9853 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.173, allocations: 0 / 0.9853 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.1733, allocations: 291.6 kB / 0.9856 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.1734, allocations: 95.61 kB / 0.9857 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1735, allocations: 208.5 kB / 0.9859 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.174, allocations: 0.5923 MB / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.174, allocations: 0 / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.174, allocations: 0 / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.128e-06/0.174, allocations: 0 / 0.9865 GB, free: 20.75 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.0007168/0.1747, allocations: 0.7715 MB / 0.9872 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1748, allocations: 8.031 kB / 0.9872 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.1748, allocations: 42.75 kB / 0.9873 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.1749, allocations: 64.19 kB / 0.9874 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1751, allocations: 368.3 kB / 0.9877 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1751, allocations: 8.375 kB / 0.9877 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1752, allocations: 15.88 kB / 0.9877 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1754, allocations: 127.8 kB / 0.9878 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1754, allocations: 0 / 0.9878 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1754, allocations: 0 / 0.9878 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1754, allocations: 4 kB / 0.9879 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1755, allocations: 95.89 kB / 0.9879 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.1761, allocations: 0.5472 MB / 0.9885 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1762, allocations: 110.4 kB / 0.9886 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.1763, allocations: 56.98 kB / 0.9886 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.1764, allocations: 7.984 kB / 0.9886 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1765, allocations: 141.1 kB / 0.9888 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.1765, allocations: 0 / 0.9888 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003537/0.1769, allocations: 298.6 kB / 0.9891 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.1769, allocations: 85.09 kB / 0.9891 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.1776, allocations: 0.7503 MB / 0.9899 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1776, allocations: 33.7 kB / 0.9899 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1778, allocations: 280.1 kB / 0.9902 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1778, allocations: 27.66 kB / 0.9902 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.1778, allocations: 0 / 0.9902 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.1779, allocations: 310 kB / 0.9905 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.1779, allocations: 47.97 kB / 0.9905 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.065e-05/0.178, allocations: 47.97 kB / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1781, allocations: 164.5 kB / 0.9907 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1781, allocations: 0 / 0.9907 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002292/0.1783, allocations: 254.6 kB / 0.991 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.1784, allocations: 41.69 kB / 0.991 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1784, allocations: 0 / 0.991 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1784, allocations: 4 kB / 0.991 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.1785, allocations: 8 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1785, allocations: 4.141 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1786, allocations: 23.77 kB / 0.9911 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1786, allocations: 4 kB / 0.9911 GB, free: 15.77 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.0002316/0.1789, allocations: 342.3 kB / 0.9914 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.1789, allocations: 59.25 kB / 0.9915 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.1792, allocations: 288.7 kB / 0.9917 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1793, allocations: 4 kB / 0.9917 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1793, allocations: 3.938 kB / 0.9917 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1793, allocations: 0 / 0.9917 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.1795, allocations: 381.3 kB / 0.9921 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1795, allocations: 0 / 0.9921 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1796, allocations: 4 kB / 0.9921 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1796, allocations: 4 kB / 0.9921 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1796, allocations: 0 / 0.9921 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1796, allocations: 4 kB / 0.9921 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1796, allocations: 3.938 kB / 0.9921 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.1799, allocations: 310.1 kB / 0.9924 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.18, allocations: 144.3 kB / 0.9926 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.18, allocations: 11.98 kB / 0.9926 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.1801, allocations: 8 kB / 0.9926 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.1802, allocations: 3.984 kB / 0.9926 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1802, allocations: 8 kB / 0.9926 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004631/0.1806, allocations: 0.5614 MB / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1807, allocations: 0 / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003142/0.181, allocations: 120 kB / 0.9932 GB, free: 13.43 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.000664/0.1816, allocations: 0.9373 MB / 0.9942 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1819, allocations: 199.3 kB / 0.9943 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1819, allocations: 4 kB / 0.9944 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.789e-05/0.182, allocations: 151.3 kB / 0.9945 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1824, allocations: 98.86 kB / 0.9946 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.1857, allocations: 3.459 MB / 0.998 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.186, allocations: 0.9582 MB / 0.9989 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.214e-05/0.1861, allocations: 29.53 kB / 0.9989 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.1862, allocations: 151.4 kB / 0.9991 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1862, allocations: 0 / 0.9991 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/0.5096, allocations: 10.74 MB / 1.01 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.5098, allocations: 215.5 kB / 1.01 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/2.992, allocations: 0 / 1.01 GB, free: 12.58 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)