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.2284/0.2304, allocations: 80.83 MB / 0.6706 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.6142/0.8446, allocations: 74.01 MB / 0.7429 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.8671, allocations: 11.28 MB / 0.7539 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004281/0.8715, allocations: 64.53 kB / 0.754 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.8746, allocations: 0.8819 MB / 0.7548 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.8852, allocations: 2.415 MB / 0.7572 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005076/0.8903, allocations: 1.341 MB / 0.7585 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009778/0.9001, allocations: 4.371 MB / 0.7628 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003201/0.9033, allocations: 1.434 MB / 0.7642 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00592/0.9093, allocations: 1.701 MB / 0.7658 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.9127, allocations: 1.265 MB / 0.7671 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003849/0.913, allocations: 170.8 kB / 0.7672 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004274/0.9173, allocations: 1.241 MB / 0.7684 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005261/0.9179, allocations: 423.1 kB / 0.7688 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.9193, allocations: 0.9407 MB / 0.7698 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005924/0.9252, allocations: 2.871 MB / 0.7726 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.9253, allocations: 1.375 kB / 0.7726 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.347e-06/0.9253, allocations: 0 / 0.7726 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.696e-05/0.9253, allocations: 0 / 0.7726 GB, free: 8.18 MB / 0.5762 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.005379/0.9307, allocations: 2.152 MB / 0.7747 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.356e-05/0.9308, allocations: 11.94 kB / 0.7747 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.932, allocations: 257.5 kB / 0.7749 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.9346, allocations: 1.468 MB / 0.7764 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.9347, allocations: 86.05 kB / 0.7764 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.9349, allocations: 116.8 kB / 0.7765 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.9378, allocations: 1.399 MB / 0.7779 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.9378, allocations: 10.41 kB / 0.7779 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.938, allocations: 47.11 kB / 0.778 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/0.938, allocations: 38.95 kB / 0.778 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.9406, allocations: 1.075 MB / 0.7791 GB, free: 3.574 MB / 0.5762 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.008398/0.949, allocations: 6.669 MB / 0.7856 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.9508, allocations: 0.6199 MB / 0.7862 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008965/0.9517, allocations: 354.8 kB / 0.7865 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/0.9521, allocations: 182.8 kB / 0.7867 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.9521, allocations: 39.12 kB / 0.7867 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=63): time 2.404e-06/0.9522, allocations: 0 / 0.7867 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67): time 0.00765/0.9598, allocations: 2.403 MB / 0.7891 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.96, allocations: 162.7 kB / 0.7892 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.9623, allocations: 1.258 MB / 0.7905 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.9624, allocations: 41.7 kB / 0.7905 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009152/0.9633, allocations: 0.6655 MB / 0.7911 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.9637, allocations: 241.9 kB / 0.7914 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/0.9641, allocations: 194.5 kB / 0.7916 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.9643, allocations: 334 kB / 0.7919 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/0.9652, allocations: 352.6 kB / 0.7922 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.9665, allocations: 0.684 MB / 0.7929 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.9684, allocations: 0.9335 MB / 0.7938 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.9684, allocations: 4 kB / 0.7938 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002626/0.9711, allocations: 1.098 MB / 0.7949 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.9711, allocations: 12.16 kB / 0.7949 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.9711, allocations: 8 kB / 0.7949 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.9712, allocations: 12.88 kB / 0.7949 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/0.9721, allocations: 227.7 kB / 0.7951 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.871e-05/0.9722, allocations: 19.88 kB / 0.7951 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.9737, allocations: 91.86 kB / 0.7952 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.9738, allocations: 47.92 kB / 0.7953 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001364/0.9752, allocations: 0.5878 MB / 0.7958 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001129/0.9763, allocations: 0.6606 MB / 0.7965 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001899/0.9782, allocations: 0.8944 MB / 0.7974 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.775e-06/0.9783, allocations: 0 / 0.7974 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002502/0.9808, allocations: 1.054 MB / 0.7984 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.9808, allocations: 8 kB / 0.7984 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.9808, allocations: 4.625 kB / 0.7984 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.9808, allocations: 12.81 kB / 0.7984 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.9817, allocations: 219.7 kB / 0.7986 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/0.9817, allocations: 22.34 kB / 0.7986 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.9832, allocations: 95.78 kB / 0.7987 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-05/0.9833, allocations: 44.48 kB / 0.7988 GB, free: 14.34 MB / 0.6075 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.0003914/0.9837, allocations: 247.9 kB / 0.799 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/0.9841, allocations: 143.1 kB / 0.7992 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.9866, allocations: 0.9609 MB / 0.8001 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.9866, allocations: 8 kB / 0.8001 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.9867, allocations: 0 / 0.8001 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001989/0.9887, allocations: 0.8569 MB / 0.8009 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/0.9944, allocations: 2.572 MB / 0.8034 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.9944, allocations: 4.625 kB / 0.8035 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.9951, allocations: 159.8 kB / 0.8036 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/0.9954, allocations: 81.67 kB / 0.8037 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/0.9954, allocations: 23.98 kB / 0.8037 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009236/0.9964, allocations: 1.159 MB / 0.8048 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.9964, allocations: 4 kB / 0.8048 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003317/0.9997, allocations: 1.556 MB / 0.8064 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007152/1, allocations: 320.1 kB / 0.8067 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/1.001, allocations: 27.98 kB / 0.8067 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.002, allocations: 63.98 kB / 0.8068 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.002, allocations: 64.25 kB / 0.8068 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/1.002, allocations: 35.97 kB / 0.8068 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00144/1.004, allocations: 0.8938 MB / 0.8077 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/1.004, allocations: 0 / 0.8077 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002472/1.006, allocations: 0.648 MB / 0.8084 GB, free: 4.164 MB / 0.6075 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.001066/1.007, allocations: 386.8 kB / 0.8087 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003381/1.011, allocations: 1.334 MB / 0.81 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.011, allocations: 0 / 0.81 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/1.012, allocations: 439.5 kB / 0.8104 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/1.016, allocations: 0.8681 MB / 0.8113 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/1.021, allocations: 2.44 MB / 0.8137 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.022, allocations: 1.199 MB / 0.8148 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001724/1.024, allocations: 347.7 kB / 0.8152 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/1.024, allocations: 119.3 kB / 0.8153 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of SimCode: time 5e-07/1.024, allocations: 0 / 0.8153 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of Templates: time 0.06324/1.088, allocations: 32.21 MB / 0.8467 GB, free: 13.02 MB / 0.6544 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)