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.181/0.1831, allocations: 80.84 MB / 0.6707 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00419/0.1873, allocations: 1.972 MB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003648/0.191, allocations: 2.508 MB / 0.675 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1912, allocations: 0 / 0.675 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.1923, allocations: 481.9 kB / 0.6755 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1925, allocations: 63.66 kB / 0.6756 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009987/0.1935, allocations: 277.8 kB / 0.6758 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.1939, allocations: 310.5 kB / 0.6761 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1941, allocations: 88.66 kB / 0.6762 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1942, allocations: 103.5 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1944, allocations: 127.2 kB / 0.6764 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.1945, allocations: 8 kB / 0.6764 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.1949, allocations: 319.6 kB / 0.6767 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1951, allocations: 99.56 kB / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.1952, allocations: 202.6 kB / 0.677 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007876/0.196, allocations: 0.7632 MB / 0.6778 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.196, allocations: 4 kB / 0.6778 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1961, allocations: 0 / 0.6778 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.1961, allocations: 0 / 0.6778 GB, free: 10.65 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.00104/0.1971, allocations: 0.8332 MB / 0.6786 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1972, allocations: 8.031 kB / 0.6786 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.1973, allocations: 64.19 kB / 0.6787 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.1977, allocations: 371.4 kB / 0.679 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1978, allocations: 11.94 kB / 0.679 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.1978, allocations: 7.938 kB / 0.679 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.198, allocations: 133.6 kB / 0.6792 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.198, allocations: 0 / 0.6792 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.198, allocations: 0 / 0.6792 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1981, allocations: 4 kB / 0.6792 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.1982, allocations: 100.7 kB / 0.6793 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.199, allocations: 0.5356 MB / 0.6798 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1992, allocations: 106.5 kB / 0.6799 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.1993, allocations: 64.97 kB / 0.68 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.1993, allocations: 4 kB / 0.68 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.1995, allocations: 141 kB / 0.6801 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.1995, allocations: 4 kB / 0.6801 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004516/0.2, allocations: 298.5 kB / 0.6804 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.2, allocations: 85.09 kB / 0.6805 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009042/0.201, allocations: 0.762 MB / 0.6812 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.201, allocations: 25.7 kB / 0.6812 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.2012, allocations: 280.2 kB / 0.6815 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.2013, allocations: 23.66 kB / 0.6815 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.2013, allocations: 29.7 kB / 0.6815 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2014, allocations: 314 kB / 0.6818 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.2015, allocations: 47.97 kB / 0.6819 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.2016, allocations: 44.25 kB / 0.6819 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.2018, allocations: 164.3 kB / 0.6821 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2018, allocations: 0 / 0.6821 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003117/0.2021, allocations: 258.5 kB / 0.6823 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.2021, allocations: 41.69 kB / 0.6824 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2022, allocations: 0 / 0.6824 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2022, allocations: 0 / 0.6824 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.2023, allocations: 8 kB / 0.6824 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2023, allocations: 4 kB / 0.6824 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2024, allocations: 19.78 kB / 0.6824 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.2024, allocations: 7.984 kB / 0.6824 GB, free: 5.621 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.0003022/0.2027, allocations: 335.3 kB / 0.6827 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.2028, allocations: 59.31 kB / 0.6828 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.2032, allocations: 292.7 kB / 0.6831 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2032, allocations: 4 kB / 0.6831 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2033, allocations: 3.938 kB / 0.6831 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2033, allocations: 7.938 kB / 0.6831 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.2037, allocations: 373.3 kB / 0.6834 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2037, allocations: 0 / 0.6834 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.2037, allocations: 7.938 kB / 0.6834 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2037, allocations: 7.984 kB / 0.6835 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2038, allocations: 0 / 0.6835 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2038, allocations: 4 kB / 0.6835 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2038, allocations: 0 / 0.6835 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.2042, allocations: 309.9 kB / 0.6838 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.2044, allocations: 144.3 kB / 0.6839 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.2044, allocations: 0 / 0.6839 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.2045, allocations: 7.984 kB / 0.6839 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.2046, allocations: 7.938 kB / 0.6839 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.2046, allocations: 8 kB / 0.6839 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006608/0.2053, allocations: 0.5614 MB / 0.6845 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2053, allocations: 0 / 0.6845 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003847/0.2057, allocations: 128 kB / 0.6846 GB, free: 3.27 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.0004791/0.2062, allocations: 195.1 kB / 0.6848 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.2065, allocations: 207.3 kB / 0.685 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2066, allocations: 0 / 0.685 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.2067, allocations: 143.4 kB / 0.6851 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.2072, allocations: 110.5 kB / 0.6852 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.2088, allocations: 1.022 MB / 0.6862 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.2094, allocations: 0.9621 MB / 0.6871 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.872e-05/0.2095, allocations: 25.53 kB / 0.6872 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.2095, allocations: 15.44 kB / 0.6872 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2095, allocations: 0 / 0.6872 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of Templates: time 0.01009/0.2196, allocations: 5.251 MB / 0.6923 GB, free: 11.31 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)