Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") [/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.1732/0.1751, allocations: 80.84 MB / 0.5899 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06354/0.2387, allocations: 73.38 MB / 0.6615 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.2537, allocations: 11.2 MB / 0.6725 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.2565, allocations: 55.69 kB / 0.6725 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.2592, allocations: 0.7774 MB / 0.6733 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007043/0.2662, allocations: 2.244 MB / 0.6755 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.2698, allocations: 1.254 MB / 0.6767 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00572/0.2755, allocations: 4.398 MB / 0.681 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.2777, allocations: 1.409 MB / 0.6824 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00423/0.2819, allocations: 1.713 MB / 0.684 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002451/0.2844, allocations: 1.323 MB / 0.6853 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004097/0.2848, allocations: 168 kB / 0.6855 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.2877, allocations: 1.256 MB / 0.6867 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003707/0.2881, allocations: 418.6 kB / 0.6871 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.2893, allocations: 0.9489 MB / 0.688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.3171/0.6064, allocations: 2.835 MB / 0.6908 GB, free: 38.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6064, allocations: 1.281 kB / 0.6908 GB, free: 38.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6065, allocations: 1.219 kB / 0.6908 GB, free: 38.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.256e-05/0.6065, allocations: 0 / 0.6908 GB, free: 38.93 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004199/0.6108, allocations: 2.093 MB / 0.6929 GB, free: 38.01 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6108, allocations: 11.06 kB / 0.6929 GB, free: 38.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.6119, allocations: 246.7 kB / 0.6931 GB, free: 37.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.614, allocations: 1.435 MB / 0.6945 GB, free: 37.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/0.6141, allocations: 87.12 kB / 0.6946 GB, free: 37.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.6142, allocations: 109.4 kB / 0.6947 GB, free: 37.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.6167, allocations: 1.397 MB / 0.6961 GB, free: 37.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.6167, allocations: 6.125 kB / 0.6961 GB, free: 37.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6168, allocations: 46.17 kB / 0.6961 GB, free: 37.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.6169, allocations: 41.12 kB / 0.6961 GB, free: 37.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.6192, allocations: 1.073 MB / 0.6972 GB, free: 37.19 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006246/0.6255, allocations: 6.657 MB / 0.7037 GB, free: 33.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.6271, allocations: 0.6277 MB / 0.7043 GB, free: 33.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/0.6278, allocations: 347.6 kB / 0.7046 GB, free: 33.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.628, allocations: 186 kB / 0.7048 GB, free: 32.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.628, allocations: 45.25 kB / 0.7049 GB, free: 32.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/0.628, allocations: 3.75 kB / 0.7049 GB, free: 32.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.006292/0.6343, allocations: 2.366 MB / 0.7072 GB, free: 32.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.6344, allocations: 167.2 kB / 0.7073 GB, free: 32.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.6359, allocations: 1.236 MB / 0.7085 GB, free: 31.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/0.636, allocations: 40.45 kB / 0.7086 GB, free: 31.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.6365, allocations: 0.6511 MB / 0.7092 GB, free: 31.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.6367, allocations: 241.2 kB / 0.7094 GB, free: 31.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.637, allocations: 186.2 kB / 0.7096 GB, free: 31.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.6371, allocations: 343.8 kB / 0.7099 GB, free: 31.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007784/0.6379, allocations: 352.5 kB / 0.7103 GB, free: 31.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.639, allocations: 0.6908 MB / 0.711 GB, free: 30.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.6409, allocations: 0.9284 MB / 0.7119 GB, free: 30.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.6409, allocations: 5.5 kB / 0.7119 GB, free: 30.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002679/0.6436, allocations: 1.089 MB / 0.7129 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.6436, allocations: 8.406 kB / 0.7129 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.6436, allocations: 11.12 kB / 0.713 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/0.6437, allocations: 11.81 kB / 0.713 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000977/0.6447, allocations: 235.2 kB / 0.7132 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/0.6447, allocations: 15.69 kB / 0.7132 GB, free: 30.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.6461, allocations: 138.6 kB / 0.7133 GB, free: 30.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.242e-05/0.6462, allocations: 40.89 kB / 0.7134 GB, free: 30.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001261/0.6475, allocations: 0.5921 MB / 0.714 GB, free: 30.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.6485, allocations: 0.6606 MB / 0.7146 GB, free: 29.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00156/0.6501, allocations: 0.8904 MB / 0.7155 GB, free: 29.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.781e-06/0.6501, allocations: 3.156 kB / 0.7155 GB, free: 29.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002391/0.6525, allocations: 1.045 MB / 0.7165 GB, free: 29.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6525, allocations: 8.062 kB / 0.7165 GB, free: 29.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.6526, allocations: 8.406 kB / 0.7165 GB, free: 29.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.6526, allocations: 12.52 kB / 0.7165 GB, free: 29.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000962/0.6536, allocations: 222.9 kB / 0.7167 GB, free: 29.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/0.6536, allocations: 18.31 kB / 0.7167 GB, free: 29.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.6551, allocations: 132.3 kB / 0.7169 GB, free: 29.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/0.6552, allocations: 40.95 kB / 0.7169 GB, free: 29.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * 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.0003156/0.6555, allocations: 245.4 kB / 0.7171 GB, free: 29.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.6558, allocations: 138.2 kB / 0.7173 GB, free: 29.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.6579, allocations: 0.9599 MB / 0.7182 GB, free: 29.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.658, allocations: 8.297 kB / 0.7182 GB, free: 29.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.658, allocations: 0 / 0.7182 GB, free: 29.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001758/0.6597, allocations: 0.8565 MB / 0.7191 GB, free: 28.97 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/0.6644, allocations: 2.555 MB / 0.7216 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.6644, allocations: 5.656 kB / 0.7216 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000684/0.6651, allocations: 159.9 kB / 0.7217 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.6653, allocations: 83.72 kB / 0.7218 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.6654, allocations: 23.75 kB / 0.7218 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005567/0.666, allocations: 1.159 MB / 0.7229 GB, free: 27.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.666, allocations: 12.14 kB / 0.723 GB, free: 27.37 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.6689, allocations: 1.547 MB / 0.7245 GB, free: 26.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008248/0.6697, allocations: 317.5 kB / 0.7248 GB, free: 26.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.67, allocations: 24.12 kB / 0.7248 GB, free: 26.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.671, allocations: 92.72 kB / 0.7249 GB, free: 26.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.6712, allocations: 66.45 kB / 0.7249 GB, free: 26.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.6712, allocations: 38.66 kB / 0.725 GB, free: 26.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001278/0.6725, allocations: 0.8742 MB / 0.7258 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6725, allocations: 1.469 kB / 0.7258 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002304/0.6748, allocations: 0.6357 MB / 0.7265 GB, free: 26.63 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007832/0.6756, allocations: 365.1 kB / 0.7268 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002983/0.6786, allocations: 1.368 MB / 0.7281 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6787, allocations: 1.875 kB / 0.7281 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009274/0.6796, allocations: 442.5 kB / 0.7286 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/0.6832, allocations: 0.8869 MB / 0.7294 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.6869, allocations: 2.92 MB / 0.7323 GB, free: 24.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.6875, allocations: 1.186 MB / 0.7334 GB, free: 24.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001587/0.689, allocations: 353.2 kB / 0.7338 GB, free: 23.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.6894, allocations: 122.2 kB / 0.7339 GB, free: 23.95 MB / 0.5294 GB Notification: Performance of SimCode: time 1.563e-06/0.6894, allocations: 0 / 0.7339 GB, free: 23.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.04887/0.7383, allocations: 31.38 MB / 0.7645 GB, free: 432 kB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)