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.2098/0.2128, allocations: 80.83 MB / 0.5897 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.004992/0.2179, allocations: 2.021 MB / 0.5917 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.2218, allocations: 2.536 MB / 0.5942 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.222, allocations: 4 kB / 0.5942 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.2236, allocations: 474 kB / 0.5946 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.2238, allocations: 63.72 kB / 0.5947 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2248, allocations: 199.3 kB / 0.5949 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.2252, allocations: 298 kB / 0.5951 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2254, allocations: 96.56 kB / 0.5952 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2256, allocations: 95.47 kB / 0.5953 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.2258, allocations: 135.2 kB / 0.5955 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.2258, allocations: 8 kB / 0.5955 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.2265, allocations: 311.5 kB / 0.5958 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2266, allocations: 95.61 kB / 0.5959 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.2269, allocations: 198.5 kB / 0.596 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2279, allocations: 0.7437 MB / 0.5968 GB, free: 15.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.228, allocations: 0 / 0.5968 GB, free: 15.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.228, allocations: 3.938 kB / 0.5968 GB, free: 15.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.228, allocations: 0 / 0.5968 GB, free: 15.81 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.001188/0.2292, allocations: 0.8372 MB / 0.5976 GB, free: 14.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.2292, allocations: 8.031 kB / 0.5976 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.586e-05/0.2293, allocations: 60.19 kB / 0.5977 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.2298, allocations: 363.8 kB / 0.598 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2299, allocations: 8 kB / 0.598 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.2299, allocations: 12 kB / 0.598 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.2302, allocations: 129.5 kB / 0.5981 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2302, allocations: 0 / 0.5981 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.2302, allocations: 8 kB / 0.5982 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2303, allocations: 0 / 0.5982 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.2304, allocations: 102.1 kB / 0.5982 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.2312, allocations: 0.5433 MB / 0.5988 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.2314, allocations: 102.5 kB / 0.5989 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.109e-05/0.2315, allocations: 60.97 kB / 0.5989 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.2315, allocations: 8 kB / 0.5989 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.2318, allocations: 133.1 kB / 0.5991 GB, free: 13.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.2318, allocations: 4 kB / 0.5991 GB, free: 13.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004685/0.2323, allocations: 298.5 kB / 0.5994 GB, free: 12.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.2324, allocations: 89.09 kB / 0.5994 GB, free: 12.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/0.2332, allocations: 0.7619 MB / 0.6002 GB, free: 12.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2332, allocations: 29.7 kB / 0.6002 GB, free: 12.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.2335, allocations: 280.2 kB / 0.6005 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.2335, allocations: 19.72 kB / 0.6005 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.2336, allocations: 25.7 kB / 0.6005 GB, free: 11.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2337, allocations: 317.9 kB / 0.6008 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.2338, allocations: 51.91 kB / 0.6009 GB, free: 11.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.2339, allocations: 51.95 kB / 0.6009 GB, free: 11.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.2341, allocations: 156.2 kB / 0.6011 GB, free: 11.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2341, allocations: 0 / 0.6011 GB, free: 11.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003098/0.2344, allocations: 258.6 kB / 0.6013 GB, free: 10.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.2345, allocations: 37.69 kB / 0.6014 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2345, allocations: 0 / 0.6014 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2345, allocations: 0 / 0.6014 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.2346, allocations: 15.94 kB / 0.6014 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2346, allocations: 4 kB / 0.6014 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2347, allocations: 15.83 kB / 0.6014 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.2347, allocations: 7.938 kB / 0.6014 GB, free: 10.79 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.0003295/0.2351, allocations: 332.2 kB / 0.6017 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.2351, allocations: 59.25 kB / 0.6018 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004399/0.2356, allocations: 296 kB / 0.6021 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2356, allocations: 0 / 0.6021 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2356, allocations: 4 kB / 0.6021 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2356, allocations: 4.125 kB / 0.6021 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.236, allocations: 377.3 kB / 0.6024 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.236, allocations: 0 / 0.6024 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.2361, allocations: 11.92 kB / 0.6024 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2361, allocations: 0 / 0.6024 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2361, allocations: 4 kB / 0.6024 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2361, allocations: 0 / 0.6024 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2361, allocations: 0 / 0.6024 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.2365, allocations: 313.9 kB / 0.6027 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.2366, allocations: 140.3 kB / 0.6029 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.2367, allocations: 8 kB / 0.6029 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.74e-05/0.2368, allocations: 11.97 kB / 0.6029 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2368, allocations: 4 kB / 0.6029 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2369, allocations: 7.984 kB / 0.6029 GB, free: 9.121 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006179/0.2375, allocations: 0.5691 MB / 0.6035 GB, free: 8.555 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2375, allocations: 0 / 0.6035 GB, free: 8.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.2379, allocations: 120 kB / 0.6036 GB, free: 8.438 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.0004117/0.2384, allocations: 199.1 kB / 0.6038 GB, free: 8.234 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.2387, allocations: 207.3 kB / 0.604 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2387, allocations: 0 / 0.604 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.2388, allocations: 143.3 kB / 0.6041 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.2393, allocations: 97.44 kB / 0.6042 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.2408, allocations: 1.141 MB / 0.6053 GB, free: 6.609 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.2414, allocations: 0.9585 MB / 0.6062 GB, free: 5.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.433e-05/0.2415, allocations: 21.55 kB / 0.6063 GB, free: 5.598 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.2416, allocations: 15.44 kB / 0.6063 GB, free: 5.586 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2416, allocations: 0 / 0.6063 GB, free: 5.586 MB / 462.1 MB Notification: Performance of Templates: time 0.009986/0.2516, allocations: 4.975 MB / 0.6111 GB, free: 0.707 MB / 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)