Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1779/0.18, allocations: 80.83 MB / 0.6707 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00338/0.1834, allocations: 1.956 MB / 0.6726 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.1871, allocations: 2.512 MB / 0.675 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1872, allocations: 7.938 kB / 0.675 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1885, allocations: 473.9 kB / 0.6755 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1886, allocations: 67.59 kB / 0.6756 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.1895, allocations: 274.1 kB / 0.6758 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.1899, allocations: 314.4 kB / 0.6761 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.1901, allocations: 88.66 kB / 0.6762 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1903, allocations: 99.47 kB / 0.6763 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1905, allocations: 135.3 kB / 0.6764 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.1905, allocations: 8 kB / 0.6764 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005582/0.1911, allocations: 319.5 kB / 0.6767 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1912, allocations: 99.55 kB / 0.6768 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.1914, allocations: 198.6 kB / 0.677 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008743/0.1923, allocations: 0.7666 MB / 0.6778 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1923, allocations: 0 / 0.6778 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1923, allocations: 0 / 0.6778 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.1924, allocations: 0 / 0.6778 GB, free: 10.68 MB / 0.5137 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.001157/0.1935, allocations: 0.8602 MB / 0.6786 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1936, allocations: 12.03 kB / 0.6786 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1937, allocations: 64.52 kB / 0.6787 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.1942, allocations: 376 kB / 0.679 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1942, allocations: 8 kB / 0.6791 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1943, allocations: 11.98 kB / 0.6791 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1945, allocations: 125.6 kB / 0.6792 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1945, allocations: 0 / 0.6792 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1945, allocations: 0 / 0.6792 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1945, allocations: 4 kB / 0.6792 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1947, allocations: 107.9 kB / 0.6793 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008108/0.1955, allocations: 0.5434 MB / 0.6798 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1957, allocations: 102.5 kB / 0.6799 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.1958, allocations: 64.94 kB / 0.68 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.1959, allocations: 4 kB / 0.68 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.196, allocations: 133.1 kB / 0.6801 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.1961, allocations: 0 / 0.6801 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004944/0.1966, allocations: 314.9 kB / 0.6804 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1966, allocations: 77.11 kB / 0.6805 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/0.1974, allocations: 0.762 MB / 0.6812 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1975, allocations: 29.7 kB / 0.6813 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.1977, allocations: 280.2 kB / 0.6815 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1978, allocations: 23.86 kB / 0.6815 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.1978, allocations: 29.7 kB / 0.6816 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.198, allocations: 310 kB / 0.6819 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.1981, allocations: 47.97 kB / 0.6819 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.1982, allocations: 47.97 kB / 0.682 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.1983, allocations: 156.6 kB / 0.6821 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1984, allocations: 3.938 kB / 0.6821 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003416/0.1987, allocations: 270.8 kB / 0.6824 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.1988, allocations: 37.69 kB / 0.6824 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.1988, allocations: 8 kB / 0.6824 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1988, allocations: 0 / 0.6824 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.1989, allocations: 4 kB / 0.6824 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1989, allocations: 4 kB / 0.6824 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.199, allocations: 19.81 kB / 0.6824 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.199, allocations: 4 kB / 0.6824 GB, free: 5.605 MB / 0.5137 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.0003253/0.1994, allocations: 331.4 kB / 0.6828 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.1995, allocations: 63.62 kB / 0.6828 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.1999, allocations: 304.6 kB / 0.6831 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1999, allocations: 0 / 0.6831 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1999, allocations: 128 / 0.6831 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1999, allocations: 7.875 kB / 0.6831 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.2003, allocations: 369.4 kB / 0.6835 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2003, allocations: 0 / 0.6835 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.2003, allocations: 11.98 kB / 0.6835 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2004, allocations: 0 / 0.6835 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2004, allocations: 4 kB / 0.6835 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2004, allocations: 0 / 0.6835 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2004, allocations: 0 / 0.6835 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.2008, allocations: 322.1 kB / 0.6838 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.2009, allocations: 144.7 kB / 0.6839 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.2009, allocations: 4 kB / 0.6839 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/0.201, allocations: 7.984 kB / 0.6839 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.2011, allocations: 15.92 kB / 0.684 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2011, allocations: 4 kB / 0.684 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006117/0.2018, allocations: 0.5614 MB / 0.6845 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2018, allocations: 4 kB / 0.6845 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003937/0.2022, allocations: 119.9 kB / 0.6846 GB, free: 3.242 MB / 0.5137 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.0003744/0.2026, allocations: 201.9 kB / 0.6848 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.2029, allocations: 203.3 kB / 0.685 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2029, allocations: 0 / 0.685 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.203, allocations: 147.4 kB / 0.6852 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.2035, allocations: 110.4 kB / 0.6853 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2048, allocations: 1.036 MB / 0.6863 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.2053, allocations: 0.9582 MB / 0.6872 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.64e-05/0.2054, allocations: 25.55 kB / 0.6872 GB, free: 496 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.2054, allocations: 19.44 kB / 0.6873 GB, free: 480 kB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.2055, allocations: 0 / 0.6873 GB, free: 480 kB / 0.5137 GB Notification: Performance of Templates: time 0.009407/0.2149, allocations: 5.17 MB / 0.6923 GB, free: 11.34 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)