Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") [/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.1887/0.1911, allocations: 80.83 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06564/0.2568, allocations: 60.22 MB / 0.7294 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.2756, allocations: 10.99 MB / 0.7401 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/0.2792, allocations: 51.69 kB / 0.7402 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.2821, allocations: 0.7064 MB / 0.7409 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006846/0.289, allocations: 1.881 MB / 0.7427 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.2926, allocations: 1.088 MB / 0.7438 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005345/0.2979, allocations: 3.013 MB / 0.7467 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00218/0.3001, allocations: 1.099 MB / 0.7478 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.3046, allocations: 1.49 MB / 0.7493 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.3068, allocations: 0.9763 MB / 0.7502 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005653/0.3074, allocations: 124 kB / 0.7503 GB, free: 104 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5284/0.8358, allocations: 1.078 MB / 0.7514 GB, free: 22.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008084/0.8367, allocations: 311.6 kB / 0.7517 GB, free: 22.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001883/0.8386, allocations: 0.7201 MB / 0.7524 GB, free: 22.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005409/0.844, allocations: 2.188 MB / 0.7545 GB, free: 22.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.8441, allocations: 0 / 0.7545 GB, free: 22.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.045e-06/0.8441, allocations: 1.719 kB / 0.7545 GB, free: 22.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.955e-05/0.8441, allocations: 0 / 0.7545 GB, free: 22.22 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004879/0.849, allocations: 1.717 MB / 0.7562 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.8491, allocations: 10.62 kB / 0.7562 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.8519, allocations: 461.4 kB / 0.7566 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.8549, allocations: 1.086 MB / 0.7577 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.855, allocations: 71.31 kB / 0.7578 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.8552, allocations: 91.62 kB / 0.7579 GB, free: 20.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.8584, allocations: 1.254 MB / 0.7591 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.8585, allocations: 9.094 kB / 0.7591 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.8586, allocations: 39 kB / 0.7591 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/0.8586, allocations: 35.16 kB / 0.7592 GB, free: 20.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003434/0.8621, allocations: 1.021 MB / 0.7602 GB, free: 20.59 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.00937/0.8715, allocations: 6.333 MB / 0.7664 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.8741, allocations: 0.6545 MB / 0.767 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008299/0.875, allocations: 273.9 kB / 0.7673 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.8753, allocations: 267.1 kB / 0.7675 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.8753, allocations: 37.59 kB / 0.7675 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 3.226e-06/0.8753, allocations: 0 / 0.7675 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.007698/0.883, allocations: 1.613 MB / 0.7691 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.8831, allocations: 159.9 kB / 0.7693 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.8852, allocations: 1.151 MB / 0.7704 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.8854, allocations: 37.11 kB / 0.7704 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/0.8859, allocations: 0.5936 MB / 0.771 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.8861, allocations: 140.6 kB / 0.7711 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/0.8864, allocations: 168.6 kB / 0.7713 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.8865, allocations: 331.6 kB / 0.7716 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.8875, allocations: 358.3 kB / 0.772 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.8888, allocations: 0.6913 MB / 0.7726 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.8909, allocations: 0.8615 MB / 0.7735 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.8909, allocations: 5.938 kB / 0.7735 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005228/0.8961, allocations: 1.392 MB / 0.7748 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.8962, allocations: 9.656 kB / 0.7749 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.8962, allocations: 7.094 kB / 0.7749 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.8974, allocations: 339 kB / 0.7752 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.8982, allocations: 170.8 kB / 0.7753 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.8998, allocations: 0.9394 MB / 0.7763 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.9018, allocations: 197.1 kB / 0.7764 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.9019, allocations: 44.34 kB / 0.7765 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001569/0.9035, allocations: 0.5345 MB / 0.777 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00131/0.9048, allocations: 0.6603 MB / 0.7777 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001919/0.9068, allocations: 0.8227 MB / 0.7785 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.266e-06/0.9068, allocations: 2.938 kB / 0.7785 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004153/0.9109, allocations: 1.251 MB / 0.7797 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.911, allocations: 9.656 kB / 0.7797 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.911, allocations: 7 kB / 0.7797 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.9121, allocations: 301.8 kB / 0.78 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.9129, allocations: 165.1 kB / 0.7801 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.9143, allocations: 0.8973 MB / 0.781 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.9162, allocations: 164.6 kB / 0.7812 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/0.9163, allocations: 41.44 kB / 0.7812 GB, free: 11.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.9168, allocations: 235.8 kB / 0.7814 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.917, allocations: 115.4 kB / 0.7816 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.9197, allocations: 0.8525 MB / 0.7824 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.9197, allocations: 4.219 kB / 0.7824 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9197, allocations: 0 / 0.7824 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.9197, allocations: 3 kB / 0.7824 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/0.9258, allocations: 2.058 MB / 0.7844 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.9258, allocations: 3.25 kB / 0.7844 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.9262, allocations: 76.28 kB / 0.7845 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.9272, allocations: 333 kB / 0.7848 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.9273, allocations: 13.52 kB / 0.7848 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.9288, allocations: 0.9269 MB / 0.7857 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.9288, allocations: 2.344 kB / 0.7857 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.9317, allocations: 1.003 MB / 0.7867 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009241/0.9326, allocations: 270.2 kB / 0.787 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.9328, allocations: 13.38 kB / 0.787 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.9338, allocations: 85.42 kB / 0.7871 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.9339, allocations: 36.84 kB / 0.7871 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.934, allocations: 24.19 kB / 0.7871 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001471/0.9354, allocations: 0.7819 MB / 0.7879 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9354, allocations: 1.281 kB / 0.7879 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002305/0.9378, allocations: 0.5629 MB / 0.7884 GB, free: 9.855 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007005/0.9385, allocations: 274.2 kB / 0.7887 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004109/0.9426, allocations: 1.245 MB / 0.7899 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.9426, allocations: 384 / 0.7899 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.9437, allocations: 350.4 kB / 0.7902 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/0.9469, allocations: 0.5601 MB / 0.7908 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.9526, allocations: 1.96 MB / 0.7927 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.9533, allocations: 1.055 MB / 0.7937 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00145/0.9547, allocations: 251.5 kB / 0.794 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.955, allocations: 82.81 kB / 0.794 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/0.955, allocations: 0 / 0.794 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of Templates: time 0.04814/1.003, allocations: 26.82 MB / 0.8202 GB, free: 5.629 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)