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.2055/0.2062, allocations: 82.22 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002743/0.209, allocations: 1.68 MB / 0.5958 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.2125, allocations: 2.486 MB / 0.5982 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.2127, allocations: 4 kB / 0.5982 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.2142, allocations: 478 kB / 0.5987 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2144, allocations: 55.72 kB / 0.5987 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.2152, allocations: 211.4 kB / 0.5989 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.2156, allocations: 294.6 kB / 0.5992 GB, free: 368 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2158, allocations: 92.56 kB / 0.5993 GB, free: 276 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.2159, allocations: 83.48 kB / 0.5994 GB, free: 192 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.2161, allocations: 131.2 kB / 0.5995 GB, free: 60 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.2161, allocations: 4 kB / 0.5995 GB, free: 56 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004605/0.2166, allocations: 307.5 kB / 0.5998 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2167, allocations: 87.61 kB / 0.5999 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.2169, allocations: 224.2 kB / 0.6001 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.2177, allocations: 0.7358 MB / 0.6008 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2177, allocations: 0 / 0.6008 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2177, allocations: 0 / 0.6008 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2177, allocations: 0 / 0.6008 GB, free: 14.7 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.000994/0.2187, allocations: 0.7715 MB / 0.6016 GB, free: 13.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.2187, allocations: 8.031 kB / 0.6016 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.2189, allocations: 60.19 kB / 0.6016 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.2193, allocations: 371.7 kB / 0.602 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2193, allocations: 8 kB / 0.602 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.2193, allocations: 12 kB / 0.602 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.2196, allocations: 121.6 kB / 0.6021 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2196, allocations: 0 / 0.6021 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2196, allocations: 7.938 kB / 0.6021 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2197, allocations: 7.984 kB / 0.6021 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.2198, allocations: 91.95 kB / 0.6022 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.2207, allocations: 0.5511 MB / 0.6028 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.2209, allocations: 102.5 kB / 0.6028 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.221, allocations: 60.97 kB / 0.6029 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.221, allocations: 8 kB / 0.6029 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.2213, allocations: 137.1 kB / 0.603 GB, free: 12.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.2213, allocations: 4 kB / 0.6031 GB, free: 12.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004652/0.2218, allocations: 298.5 kB / 0.6033 GB, free: 11.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.2218, allocations: 89.09 kB / 0.6034 GB, free: 11.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.2227, allocations: 0.7581 MB / 0.6042 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.2228, allocations: 29.7 kB / 0.6042 GB, free: 11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.223, allocations: 284.1 kB / 0.6045 GB, free: 10.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.2231, allocations: 15.72 kB / 0.6045 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.2231, allocations: 17.72 kB / 0.6045 GB, free: 10.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2233, allocations: 321.9 kB / 0.6048 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.2234, allocations: 47.97 kB / 0.6048 GB, free: 10.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.2234, allocations: 47.98 kB / 0.6049 GB, free: 10.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2236, allocations: 163.2 kB / 0.605 GB, free: 10.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2236, allocations: 0 / 0.605 GB, free: 10.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003156/0.224, allocations: 262.6 kB / 0.6053 GB, free: 9.828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.224, allocations: 33.7 kB / 0.6053 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.224, allocations: 4 kB / 0.6053 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.224, allocations: 0 / 0.6053 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.2241, allocations: 7.984 kB / 0.6053 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2241, allocations: 8 kB / 0.6053 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2243, allocations: 11.84 kB / 0.6054 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.2243, allocations: 7.938 kB / 0.6054 GB, free: 9.75 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.0003292/0.2246, allocations: 340.2 kB / 0.6057 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.2247, allocations: 59.25 kB / 0.6057 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/0.2251, allocations: 288.6 kB / 0.606 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2251, allocations: 0 / 0.606 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2252, allocations: 8 kB / 0.606 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2252, allocations: 3.984 kB / 0.606 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.2256, allocations: 373.3 kB / 0.6064 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2256, allocations: 0 / 0.6064 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.2257, allocations: 4 kB / 0.6064 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2257, allocations: 0 / 0.6064 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.2257, allocations: 11.92 kB / 0.6064 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2257, allocations: 0 / 0.6064 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2257, allocations: 0 / 0.6064 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.2261, allocations: 313.9 kB / 0.6067 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.2262, allocations: 144.3 kB / 0.6068 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.2263, allocations: 4 kB / 0.6068 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/0.2264, allocations: 8 kB / 0.6069 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.2264, allocations: 3.984 kB / 0.6069 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2264, allocations: 8 kB / 0.6069 GB, free: 8.082 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006558/0.2271, allocations: 0.5691 MB / 0.6074 GB, free: 7.516 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2271, allocations: 0 / 0.6074 GB, free: 7.516 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.2276, allocations: 124 kB / 0.6075 GB, free: 7.395 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.0004017/0.228, allocations: 201.4 kB / 0.6077 GB, free: 7.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.2283, allocations: 207.3 kB / 0.6079 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2283, allocations: 0 / 0.6079 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.2285, allocations: 147.4 kB / 0.6081 GB, free: 6.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.2291, allocations: 97.06 kB / 0.6082 GB, free: 6.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.2307, allocations: 1.161 MB / 0.6093 GB, free: 5.543 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/0.2315, allocations: 0.9624 MB / 0.6102 GB, free: 4.555 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.72e-05/0.2315, allocations: 21.55 kB / 0.6103 GB, free: 4.531 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.2316, allocations: 19.44 kB / 0.6103 GB, free: 4.516 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2316, allocations: 0 / 0.6103 GB, free: 4.516 MB / 462.1 MB Notification: Performance of Templates: time 0.01108/0.2427, allocations: 4.943 MB / 0.6151 GB, free: 15.66 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: