Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [/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.4586/0.4594, allocations: 82.21 MB / 0.5935 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001599/0.4611, allocations: 1.136 MB / 0.5946 GB, free: 20.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006242/0.4617, allocations: 411.3 kB / 0.595 GB, free: 19.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.4618, allocations: 0 / 0.595 GB, free: 19.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.4618, allocations: 0 / 0.595 GB, free: 19.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.4618, allocations: 11.92 kB / 0.595 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.462, allocations: 3.984 kB / 0.595 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.4621, allocations: 24.55 kB / 0.595 GB, free: 19.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.4622, allocations: 6.125 kB / 0.595 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.4623, allocations: 7.938 kB / 0.595 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.4623, allocations: 15.92 kB / 0.5951 GB, free: 19.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.4624, allocations: 0 / 0.5951 GB, free: 19.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.4624, allocations: 0 / 0.5951 GB, free: 19.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.4624, allocations: 8.641 kB / 0.5951 GB, free: 19.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.4624, allocations: 25.7 kB / 0.5951 GB, free: 19.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.377e-05/0.4625, allocations: 19.41 kB / 0.5951 GB, free: 19.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4625, allocations: 0 / 0.5951 GB, free: 19.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4625, allocations: 0.5938 kB / 0.5951 GB, free: 19.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.4625, allocations: 0 / 0.5951 GB, free: 19.7 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003351/0.4629, allocations: 332.7 kB / 0.5954 GB, free: 19.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4629, allocations: 8.875 kB / 0.5954 GB, free: 19.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.4629, allocations: 4 kB / 0.5954 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.874e-05/0.463, allocations: 167.8 kB / 0.5956 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4631, allocations: 4 kB / 0.5956 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4631, allocations: 9.578 kB / 0.5956 GB, free: 19.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.4632, allocations: 37.69 kB / 0.5956 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4632, allocations: 0 / 0.5956 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4632, allocations: 5.5 kB / 0.5957 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4632, allocations: 0 / 0.5957 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.4633, allocations: 20.61 kB / 0.5957 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.4636, allocations: 261.9 kB / 0.5959 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.4637, allocations: 32.73 kB / 0.596 GB, free: 18.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.4638, allocations: 28.84 kB / 0.596 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.4638, allocations: 1.812 kB / 0.596 GB, free: 18.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.4638, allocations: 34.56 kB / 0.596 GB, free: 18.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4638, allocations: 0 / 0.596 GB, free: 18.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002151/0.464, allocations: 72.33 kB / 0.5961 GB, free: 18.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.4641, allocations: 51.41 kB / 0.5961 GB, free: 18.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.243e-05/0.4641, allocations: 101.9 kB / 0.5962 GB, free: 18.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.4641, allocations: 30.88 kB / 0.5963 GB, free: 18.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.4642, allocations: 88.14 kB / 0.5963 GB, free: 18.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.4642, allocations: 6.031 kB / 0.5963 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.4642, allocations: 0 / 0.5963 GB, free: 18.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.4642, allocations: 310.8 kB / 0.5966 GB, free: 17.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.4643, allocations: 15.98 kB / 0.5967 GB, free: 17.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.4643, allocations: 9.094 kB / 0.5967 GB, free: 17.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.4644, allocations: 21 kB / 0.5967 GB, free: 17.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4644, allocations: 0 / 0.5967 GB, free: 17.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.24e-05/0.4645, allocations: 55.56 kB / 0.5967 GB, free: 17.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.4645, allocations: 4 kB / 0.5967 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4645, allocations: 0.5312 kB / 0.5967 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4645, allocations: 1.219 kB / 0.5967 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.4646, allocations: 15.92 kB / 0.5968 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4646, allocations: 0 / 0.5968 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.4646, allocations: 0.6562 kB / 0.5968 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.4647, allocations: 5.938 kB / 0.5968 GB, free: 17.8 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.4647, allocations: 109.8 kB / 0.5969 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.4647, allocations: 3.906 kB / 0.5969 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.4648, allocations: 11.53 kB / 0.5969 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4648, allocations: 1.281 kB / 0.5969 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4648, allocations: 0 / 0.5969 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4648, allocations: 3.984 kB / 0.5969 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.4649, allocations: 154.2 kB / 0.597 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4649, allocations: 3.953 kB / 0.597 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.465, allocations: 9.625 kB / 0.5971 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.465, allocations: 0 / 0.5971 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.465, allocations: 11.91 kB / 0.5971 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.465, allocations: 0 / 0.5971 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.465, allocations: 3.625 kB / 0.5971 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.4651, allocations: 147.5 kB / 0.5972 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.4652, allocations: 89 kB / 0.5973 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.4652, allocations: 4 kB / 0.5973 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.4652, allocations: 5.484 kB / 0.5973 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.4653, allocations: 4 kB / 0.5973 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.4653, allocations: 3.938 kB / 0.5973 GB, free: 17.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.276e-05/0.4653, allocations: 86.75 kB / 0.5974 GB, free: 17.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4653, allocations: 0 / 0.5974 GB, free: 17.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.4655, allocations: 8 kB / 0.5974 GB, free: 17.07 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.939e-05/0.4656, allocations: 103.2 kB / 0.5975 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.4657, allocations: 28.23 kB / 0.5975 GB, free: 16.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4657, allocations: 0 / 0.5975 GB, free: 16.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.4658, allocations: 11.94 kB / 0.5975 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.466, allocations: 6.109 kB / 0.5975 GB, free: 16.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.4663, allocations: 128.5 kB / 0.5977 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.493e-05/0.4664, allocations: 0.685 MB / 0.5983 GB, free: 16.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.4664, allocations: 0 / 0.5983 GB, free: 16.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.4664, allocations: 7.438 kB / 0.5983 GB, free: 16.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4664, allocations: 0 / 0.5983 GB, free: 16.05 MB / 446.1 MB Notification: Performance of Templates: time 0.002232/0.4687, allocations: 270.2 kB / 0.5986 GB, free: 15.82 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) Environment - environmentSimulation: