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.1946/0.1954, allocations: 82.22 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05004/0.2455, allocations: 50.49 MB / 0.6427 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.2595, allocations: 9.433 MB / 0.6519 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.2613, allocations: 43.69 kB / 0.6519 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.2632, allocations: 0.5792 MB / 0.6525 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.2694, allocations: 1.823 MB / 0.6543 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.2725, allocations: 0.907 MB / 0.6552 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003815/0.2763, allocations: 1.776 MB / 0.6569 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.2777, allocations: 0.8054 MB / 0.6577 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.2801, allocations: 1.086 MB / 0.6587 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.2813, allocations: 0.6456 MB / 0.6594 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.2814, allocations: 44 kB / 0.6594 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.2833, allocations: 0.6904 MB / 0.6601 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.2836, allocations: 211 kB / 0.6603 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003518/0.2839, allocations: 301 kB / 0.6606 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.2859, allocations: 1.535 MB / 0.6621 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2859, allocations: 0 / 0.6621 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2859, allocations: 0 / 0.6621 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.2859, allocations: 0 / 0.6621 GB, free: 15.45 MB / 0.5137 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.003042/0.289, allocations: 1.469 MB / 0.6635 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.289, allocations: 15.97 kB / 0.6635 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.2914, allocations: 493.9 kB / 0.664 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.2935, allocations: 1.027 MB / 0.665 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.2939, allocations: 141.9 kB / 0.6651 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.294, allocations: 88 kB / 0.6652 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.2966, allocations: 1.268 MB / 0.6665 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.2967, allocations: 7.938 kB / 0.6665 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.041e-05/0.2968, allocations: 36 kB / 0.6665 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.2968, allocations: 28 kB / 0.6665 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.2996, allocations: 1.097 MB / 0.6676 GB, free: 9.602 MB / 0.5137 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.007207/0.3069, allocations: 6.048 MB / 0.6735 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.3091, allocations: 0.7423 MB / 0.6742 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.3094, allocations: 251.6 kB / 0.6745 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.3095, allocations: 46.81 kB / 0.6745 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.445e-06/0.3095, allocations: 4 kB / 0.6745 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.006956/0.3164, allocations: 1.841 MB / 0.6763 GB, free: 192 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3166, allocations: 162.2 kB / 0.6765 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.3182, allocations: 1.131 MB / 0.6776 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.3183, allocations: 33.7 kB / 0.6776 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.3188, allocations: 0.5852 MB / 0.6782 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3189, allocations: 138 kB / 0.6783 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.319, allocations: 16 kB / 0.6783 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3191, allocations: 334 kB / 0.6786 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.3201, allocations: 381 kB / 0.679 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.3215, allocations: 0.6868 MB / 0.6797 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.3226, allocations: 432.5 kB / 0.6801 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.3226, allocations: 4 kB / 0.6801 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004511/0.3271, allocations: 1.479 MB / 0.6815 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001331/0.3285, allocations: 2.729 MB / 0.6842 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.3285, allocations: 8 kB / 0.6842 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.3297, allocations: 372.5 kB / 0.6846 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.3304, allocations: 171.8 kB / 0.6847 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.3322, allocations: 0.9933 MB / 0.6857 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.3339, allocations: 246.8 kB / 0.6859 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/0.334, allocations: 39.98 kB / 0.686 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.334, allocations: 4 kB / 0.686 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003396/0.3374, allocations: 1.158 MB / 0.6871 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3374, allocations: 8.688 kB / 0.6871 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009682/0.3384, allocations: 331.5 kB / 0.6874 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.339, allocations: 167.8 kB / 0.6876 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.3405, allocations: 0.9387 MB / 0.6885 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.342, allocations: 195.1 kB / 0.6887 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.342, allocations: 31.98 kB / 0.6887 GB, free: 3.004 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007025/0.3427, allocations: 368.8 kB / 0.6891 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.343, allocations: 114.6 kB / 0.6892 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.3454, allocations: 0.9258 MB / 0.6901 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3455, allocations: 7.984 kB / 0.6901 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3455, allocations: 4 kB / 0.6901 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3455, allocations: 0 / 0.6901 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3738/0.7193, allocations: 2.214 MB / 0.6923 GB, free: 96.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.7194, allocations: 2.625 kB / 0.6923 GB, free: 96.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.7197, allocations: 77.55 kB / 0.6923 GB, free: 96.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.7209, allocations: 357.4 kB / 0.6927 GB, free: 96.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.7209, allocations: 12.91 kB / 0.6927 GB, free: 96.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.7225, allocations: 0.9866 MB / 0.6937 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.7225, allocations: 5.25 kB / 0.6937 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.7249, allocations: 1.201 MB / 0.6948 GB, free: 95.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/0.7254, allocations: 286.4 kB / 0.6951 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.7256, allocations: 14.48 kB / 0.6951 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00095/0.7266, allocations: 127 kB / 0.6952 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.7267, allocations: 45 kB / 0.6953 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.7267, allocations: 25.27 kB / 0.6953 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001086/0.7278, allocations: 0.776 MB / 0.6961 GB, free: 95.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7278, allocations: 3.828 kB / 0.6961 GB, free: 95.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001503/0.7293, allocations: 0.5513 MB / 0.6966 GB, free: 95.63 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004889/0.7298, allocations: 261.8 kB / 0.6969 GB, free: 95.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00362/0.7335, allocations: 1.315 MB / 0.6981 GB, free: 95.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.7335, allocations: 0 / 0.6981 GB, free: 95.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009885/0.7345, allocations: 371.5 kB / 0.6985 GB, free: 95.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/0.7377, allocations: 0.5515 MB / 0.699 GB, free: 95.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005731/0.7435, allocations: 2.421 MB / 0.7014 GB, free: 94.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.7441, allocations: 1.078 MB / 0.7024 GB, free: 93.74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00127/0.7454, allocations: 242.1 kB / 0.7027 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.7456, allocations: 82.58 kB / 0.7028 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.7456, allocations: 0 / 0.7028 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.04078/0.7864, allocations: 24.11 MB / 0.7263 GB, free: 81.57 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: