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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0008663/0.0008662, allocations: 178.7 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006768/0.0006768, allocations: 85.7 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002913, allocations: 11.97 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1535, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.001589/0.1551, allocations: 1.725 MB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1573, allocations: 2.583 MB / 0.9004 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.1573, allocations: 4 kB / 0.9004 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008615/0.1582, allocations: 470 kB / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.1583, allocations: 59.72 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1588, allocations: 199.6 kB / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.159, allocations: 308 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1591, allocations: 84.66 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.1592, allocations: 87.53 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1593, allocations: 127.2 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1593, allocations: 8 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.1597, allocations: 303.6 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.1597, allocations: 99.55 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.1598, allocations: 194.5 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.1603, allocations: 0.7475 MB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1603, allocations: 0 / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1603, allocations: 0 / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.1603, allocations: 0 / 0.903 GB, free: 61.07 MB / 0.6042 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.0006196/0.161, allocations: 0.7754 MB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.161, allocations: 8.031 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.161, allocations: 42.73 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.1611, allocations: 60.19 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1613, allocations: 360.5 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1613, allocations: 8.375 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.1614, allocations: 12.38 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1615, allocations: 132.1 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1615, allocations: 0 / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1616, allocations: 7.984 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1616, allocations: 4 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1617, allocations: 103.9 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.1622, allocations: 0.5353 MB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1623, allocations: 102.5 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.1624, allocations: 69.09 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.1624, allocations: 11.94 kB / 0.9052 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.1626, allocations: 140.9 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.1626, allocations: 0 / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003123/0.1629, allocations: 302.6 kB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.163, allocations: 81.11 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.1635, allocations: 0.7659 MB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.1635, allocations: 25.7 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.1637, allocations: 280.2 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1637, allocations: 23.7 kB / 0.9067 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1637, allocations: 21.7 kB / 0.9068 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.1638, allocations: 314 kB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.1638, allocations: 47.91 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.75e-05/0.1639, allocations: 47.97 kB / 0.9071 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.164, allocations: 160.2 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.164, allocations: 0 / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000204/0.1642, allocations: 262.5 kB / 0.9075 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1643, allocations: 41.69 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1643, allocations: 0 / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1643, allocations: 0 / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.7e-05/0.1643, allocations: 8 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1644, allocations: 0 / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.1645, allocations: 19.83 kB / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1645, allocations: 4 kB / 0.9076 GB, free: 56.06 MB / 0.6042 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.0001915/0.1647, allocations: 334.1 kB / 0.9079 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.1647, allocations: 67.19 kB / 0.908 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.165, allocations: 296.5 kB / 0.9083 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.165, allocations: 4 kB / 0.9083 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.165, allocations: 0 / 0.9083 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.165, allocations: 0 / 0.9083 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.1653, allocations: 373.4 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1653, allocations: 0 / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.1653, allocations: 7.984 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1653, allocations: 4 kB / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1653, allocations: 0 / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1653, allocations: 8 kB / 0.9087 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1653, allocations: 0 / 0.9087 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1656, allocations: 322.1 kB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.1657, allocations: 140.3 kB / 0.9091 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.1657, allocations: 4 kB / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.1658, allocations: 11.98 kB / 0.9091 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.1659, allocations: 4 kB / 0.9091 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1659, allocations: 11.98 kB / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004508/0.1664, allocations: 0.5575 MB / 0.9097 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1664, allocations: 0 / 0.9097 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002749/0.1667, allocations: 124 kB / 0.9098 GB, free: 53.71 MB / 0.6042 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.000564/0.1672, allocations: 0.9468 MB / 0.9107 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1674, allocations: 203.3 kB / 0.9109 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1674, allocations: 0 / 0.9109 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.1675, allocations: 151.3 kB / 0.9111 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1679, allocations: 103.2 kB / 0.9112 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.1714, allocations: 4.689 MB / 0.9157 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1717, allocations: 0.9621 MB / 0.9167 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.241e-05/0.1717, allocations: 25.55 kB / 0.9167 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.1719, allocations: 151.4 kB / 0.9168 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1719, allocations: 0 / 0.9168 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5507/0.7226, allocations: 10.75 MB / 0.9273 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.7228, allocations: 236.1 kB / 0.9276 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.882, allocations: 6.656 kB / 0.9276 GB, free: 35.55 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)