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.2091/0.2111, allocations: 80.84 MB / 0.5899 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.00392/0.215, allocations: 2.025 MB / 0.5919 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.2187, allocations: 2.482 MB / 0.5943 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.2188, allocations: 7.938 kB / 0.5943 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.2204, allocations: 478 kB / 0.5948 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2206, allocations: 43.8 kB / 0.5948 GB, free: 1.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.2216, allocations: 251.1 kB / 0.595 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005292/0.2222, allocations: 338.5 kB / 0.5954 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.2224, allocations: 92.52 kB / 0.5955 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.2225, allocations: 99.53 kB / 0.5955 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.2227, allocations: 147.2 kB / 0.5957 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.2228, allocations: 8 kB / 0.5957 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.2233, allocations: 319.5 kB / 0.596 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.2235, allocations: 91.61 kB / 0.5961 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.2236, allocations: 206.5 kB / 0.5963 GB, free: 392 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008209/0.2245, allocations: 0.7594 MB / 0.597 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2245, allocations: 0 / 0.597 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2245, allocations: 0 / 0.597 GB, free: 15.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.2245, allocations: 0 / 0.597 GB, free: 15.62 MB / 462.1 MB 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.001032/0.2256, allocations: 0.8372 MB / 0.5978 GB, free: 14.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.2256, allocations: 12.03 kB / 0.5979 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/0.2257, allocations: 60.19 kB / 0.5979 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.2261, allocations: 367.7 kB / 0.5983 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.2261, allocations: 8 kB / 0.5983 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.2261, allocations: 4 kB / 0.5983 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.2264, allocations: 125.6 kB / 0.5984 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2264, allocations: 0 / 0.5984 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.2265, allocations: 4 kB / 0.5984 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2265, allocations: 7.984 kB / 0.5984 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.2267, allocations: 103.9 kB / 0.5985 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009368/0.2276, allocations: 0.5316 MB / 0.599 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.2278, allocations: 106.5 kB / 0.5991 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.2279, allocations: 68.97 kB / 0.5992 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.228, allocations: 8 kB / 0.5992 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.2284, allocations: 129.1 kB / 0.5993 GB, free: 13.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.2284, allocations: 3.938 kB / 0.5993 GB, free: 13.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005599/0.2289, allocations: 313.2 kB / 0.5996 GB, free: 12.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.229, allocations: 77.11 kB / 0.5997 GB, free: 12.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.23, allocations: 0.7619 MB / 0.6004 GB, free: 11.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.23, allocations: 25.7 kB / 0.6005 GB, free: 11.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.2303, allocations: 284.2 kB / 0.6007 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.2303, allocations: 19.72 kB / 0.6008 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.2304, allocations: 29.7 kB / 0.6008 GB, free: 11.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2305, allocations: 313.9 kB / 0.6011 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.2306, allocations: 47.97 kB / 0.6011 GB, free: 11.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.103e-05/0.2307, allocations: 43.97 kB / 0.6012 GB, free: 11.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.2309, allocations: 160.2 kB / 0.6013 GB, free: 10.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2309, allocations: 0 / 0.6013 GB, free: 10.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003269/0.2312, allocations: 262.5 kB / 0.6016 GB, free: 10.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.2313, allocations: 41.69 kB / 0.6016 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2313, allocations: 0 / 0.6016 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2313, allocations: 7.938 kB / 0.6016 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.2314, allocations: 4 kB / 0.6016 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2314, allocations: 4 kB / 0.6016 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2315, allocations: 15.89 kB / 0.6016 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.2316, allocations: 11.94 kB / 0.6017 GB, free: 10.6 MB / 462.1 MB 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.000309/0.2319, allocations: 332.2 kB / 0.602 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.232, allocations: 59.25 kB / 0.602 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.2324, allocations: 303.5 kB / 0.6023 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2324, allocations: 0 / 0.6023 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2324, allocations: 0 / 0.6023 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2324, allocations: 0 / 0.6023 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.2328, allocations: 381.3 kB / 0.6027 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2329, allocations: 0 / 0.6027 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.2329, allocations: 8 kB / 0.6027 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2329, allocations: 0 / 0.6027 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.2329, allocations: 4 kB / 0.6027 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2329, allocations: 0 / 0.6027 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2329, allocations: 4 kB / 0.6027 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.2333, allocations: 313.8 kB / 0.603 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2334, allocations: 140.3 kB / 0.6031 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.2335, allocations: 11.98 kB / 0.6031 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.2336, allocations: 4 kB / 0.6031 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.2336, allocations: 3.984 kB / 0.6031 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2337, allocations: 12 kB / 0.6032 GB, free: 8.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006485/0.2343, allocations: 0.5653 MB / 0.6037 GB, free: 8.363 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2343, allocations: 0 / 0.6037 GB, free: 8.363 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.2348, allocations: 120 kB / 0.6038 GB, free: 8.246 MB / 462.1 MB 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.0003865/0.2352, allocations: 187.2 kB / 0.604 GB, free: 8.055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.2355, allocations: 211.3 kB / 0.6042 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2355, allocations: 0 / 0.6042 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2357, allocations: 147.4 kB / 0.6043 GB, free: 7.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.2362, allocations: 102 kB / 0.6044 GB, free: 7.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.2377, allocations: 1.147 MB / 0.6056 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.2384, allocations: 0.966 MB / 0.6065 GB, free: 5.422 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.848e-05/0.2385, allocations: 21.55 kB / 0.6065 GB, free: 5.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.2385, allocations: 19.38 kB / 0.6065 GB, free: 5.379 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2385, allocations: 0 / 0.6065 GB, free: 5.379 MB / 462.1 MB Notification: Performance of Templates: time 0.009849/0.2484, allocations: 5.119 MB / 0.6115 GB, free: 368 kB / 462.1 MB 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)