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.1917/0.1937, 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.003715/0.1974, allocations: 1.968 MB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00361/0.2011, allocations: 2.516 MB / 0.6751 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2012, allocations: 0 / 0.6751 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.2023, allocations: 477.9 kB / 0.6755 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.2024, allocations: 63.66 kB / 0.6756 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.2033, allocations: 274.4 kB / 0.6758 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.2037, allocations: 306.5 kB / 0.6761 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.204, allocations: 96.64 kB / 0.6762 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.2041, allocations: 99.47 kB / 0.6763 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.2043, allocations: 123.3 kB / 0.6764 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.2044, allocations: 8 kB / 0.6764 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.2049, allocations: 331.5 kB / 0.6767 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2051, allocations: 95.55 kB / 0.6768 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.2053, allocations: 198.6 kB / 0.677 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008421/0.2062, allocations: 0.7671 MB / 0.6778 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2062, allocations: 0 / 0.6778 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2062, allocations: 0 / 0.6778 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.2062, allocations: 4 kB / 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.001101/0.2073, allocations: 0.8294 MB / 0.6786 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2074, allocations: 12.03 kB / 0.6786 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.258e-05/0.2075, allocations: 60.19 kB / 0.6787 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.208, allocations: 363.4 kB / 0.679 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.208, allocations: 7.938 kB / 0.679 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.208, allocations: 19.88 kB / 0.679 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.2083, allocations: 129.6 kB / 0.6792 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2083, allocations: 4 kB / 0.6792 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2084, allocations: 4 kB / 0.6792 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2084, allocations: 4 kB / 0.6792 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.2085, allocations: 103.9 kB / 0.6793 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.2093, allocations: 0.5239 MB / 0.6798 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.2095, allocations: 102.5 kB / 0.6799 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.2096, allocations: 73 kB / 0.6799 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.2096, allocations: 8 kB / 0.68 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.2098, allocations: 133 kB / 0.6801 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.2099, allocations: 0 / 0.6801 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004962/0.2104, allocations: 302.5 kB / 0.6804 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.2104, allocations: 81.11 kB / 0.6804 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008581/0.2113, allocations: 0.7658 MB / 0.6812 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.2113, allocations: 29.7 kB / 0.6812 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.2116, allocations: 280.2 kB / 0.6815 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.2116, allocations: 27.64 kB / 0.6815 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.2117, allocations: 29.7 kB / 0.6815 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2118, allocations: 310 kB / 0.6818 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.2119, allocations: 43.97 kB / 0.6819 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/0.212, allocations: 48.3 kB / 0.6819 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.2122, allocations: 156.3 kB / 0.6821 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2122, allocations: 4 kB / 0.6821 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003262/0.2125, allocations: 266.6 kB / 0.6823 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.2126, allocations: 33.69 kB / 0.6824 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2126, allocations: 4.156 kB / 0.6824 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2126, allocations: 4 kB / 0.6824 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.2127, allocations: 11.94 kB / 0.6824 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2127, allocations: 7.984 kB / 0.6824 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.2129, allocations: 15.83 kB / 0.6824 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.2129, allocations: 4 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.000329/0.2132, allocations: 335.4 kB / 0.6827 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.2133, allocations: 63.25 kB / 0.6828 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.2137, allocations: 288.7 kB / 0.6831 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2137, allocations: 3.938 kB / 0.6831 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2137, allocations: 3.938 kB / 0.6831 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2138, allocations: 3.938 kB / 0.6831 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.2141, allocations: 373.3 kB / 0.6834 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/0.2141, allocations: 0 / 0.6834 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.2142, allocations: 11.98 kB / 0.6834 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2142, allocations: 0 / 0.6834 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2142, allocations: 8 kB / 0.6835 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2142, allocations: 0 / 0.6835 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2142, allocations: 0 / 0.6835 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.2146, allocations: 313.8 kB / 0.6838 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.2147, allocations: 136.3 kB / 0.6839 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.2148, allocations: 8 kB / 0.6839 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.2149, allocations: 7.984 kB / 0.6839 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.215, allocations: 11.94 kB / 0.6839 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.215, allocations: 15.91 kB / 0.6839 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006234/0.2156, allocations: 0.5575 MB / 0.6845 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2156, allocations: 0 / 0.6845 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004016/0.216, allocations: 128 kB / 0.6846 GB, free: 3.262 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.000406/0.2164, allocations: 187.1 kB / 0.6848 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.2168, allocations: 203.3 kB / 0.685 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2168, allocations: 0 / 0.685 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.2169, allocations: 151.3 kB / 0.6851 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.2174, allocations: 110.5 kB / 0.6852 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2188, allocations: 1.022 MB / 0.6862 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.2194, allocations: 0.9661 MB / 0.6872 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.006e-05/0.2195, allocations: 17.55 kB / 0.6872 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.2195, allocations: 15.44 kB / 0.6872 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.2196, allocations: 0 / 0.6872 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of Templates: time 0.01054/0.2301, allocations: 5.178 MB / 0.6922 GB, free: 11.38 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)