Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") [/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.4298/0.4319, allocations: 80.82 MB / 0.5904 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07274/0.5047, allocations: 74.03 MB / 0.6627 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.5239, allocations: 11.27 MB / 0.6737 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002961/0.5269, allocations: 63.62 kB / 0.6738 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.5299, allocations: 0.8852 MB / 0.6746 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007286/0.5372, allocations: 2.422 MB / 0.677 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.5409, allocations: 1.342 MB / 0.6783 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006938/0.5479, allocations: 4.374 MB / 0.6826 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.5506, allocations: 1.421 MB / 0.684 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/0.555, allocations: 1.698 MB / 0.6856 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.5575, allocations: 1.264 MB / 0.6868 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004031/0.5579, allocations: 172 kB / 0.687 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003936/0.5619, allocations: 1.291 MB / 0.6883 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005617/0.5625, allocations: 426.5 kB / 0.6887 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.564, allocations: 0.9411 MB / 0.6896 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.5689, allocations: 2.859 MB / 0.6924 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5689, allocations: 0 / 0.6924 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5689, allocations: 0 / 0.6924 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.901e-05/0.569, allocations: 4 kB / 0.6924 GB, free: 14.07 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.003909/0.5729, allocations: 2.114 MB / 0.6945 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.573, allocations: 8.031 kB / 0.6945 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.5741, allocations: 242.8 kB / 0.6947 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.5763, allocations: 1.389 MB / 0.6961 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.832e-05/0.5764, allocations: 94.03 kB / 0.6961 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.5766, allocations: 108 kB / 0.6962 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/0.5793, allocations: 1.405 MB / 0.6976 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.5794, allocations: 7.922 kB / 0.6976 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.5795, allocations: 44 kB / 0.6977 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.445e-05/0.5796, allocations: 44 kB / 0.6977 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.5821, allocations: 1.077 MB / 0.6988 GB, free: 7.285 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.007756/0.5898, allocations: 6.691 MB / 0.7053 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.5917, allocations: 0.6425 MB / 0.7059 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.5924, allocations: 356.5 kB / 0.7063 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.5926, allocations: 190.6 kB / 0.7064 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.5927, allocations: 43.12 kB / 0.7065 GB, free: 14.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=64): time 2.545e-06/0.5927, allocations: 0 / 0.7065 GB, free: 14.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=68): time 0.00724/0.5999, allocations: 2.547 MB / 0.709 GB, free: 12.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.6001, allocations: 162.8 kB / 0.7091 GB, free: 12.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.6019, allocations: 1.254 MB / 0.7104 GB, free: 10.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.602, allocations: 41.7 kB / 0.7104 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/0.6026, allocations: 0.6527 MB / 0.711 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.6029, allocations: 240.6 kB / 0.7113 GB, free: 9.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.6032, allocations: 190.4 kB / 0.7114 GB, free: 9.684 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.6034, allocations: 341.9 kB / 0.7118 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008675/0.6043, allocations: 348.6 kB / 0.7121 GB, free: 9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.6055, allocations: 0.6825 MB / 0.7128 GB, free: 8.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.6075, allocations: 0.9326 MB / 0.7137 GB, free: 7.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.6075, allocations: 0 / 0.7137 GB, free: 7.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003197/0.6108, allocations: 1.14 MB / 0.7148 GB, free: 5.992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.6108, allocations: 9.25 kB / 0.7148 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.6108, allocations: 8 kB / 0.7148 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003863/0.6112, allocations: 73.34 kB / 0.7149 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/0.6121, allocations: 219.7 kB / 0.7151 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005036/0.6127, allocations: 0.5836 MB / 0.7157 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.614, allocations: 91.91 kB / 0.7157 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/0.6141, allocations: 43.98 kB / 0.7158 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001262/0.6154, allocations: 0.5995 MB / 0.7164 GB, free: 4.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001104/0.6165, allocations: 0.6474 MB / 0.717 GB, free: 3.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001702/0.6182, allocations: 0.8936 MB / 0.7179 GB, free: 2.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/0.6182, allocations: 0 / 0.7179 GB, free: 2.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002552/0.6208, allocations: 1.093 MB / 0.7189 GB, free: 1.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.6208, allocations: 8.844 kB / 0.719 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.6208, allocations: 11.98 kB / 0.719 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.6211, allocations: 68.89 kB / 0.719 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/0.622, allocations: 219.5 kB / 0.7192 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004473/0.6224, allocations: 0.5913 MB / 0.7198 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.6239, allocations: 99.89 kB / 0.7199 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-05/0.624, allocations: 39.98 kB / 0.72 GB, free: 416 kB / 0.545 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 (105): * Single equations (assignments): 104 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003419/0.6243, allocations: 240.5 kB / 0.7202 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.6247, allocations: 146.3 kB / 0.7203 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.6274, allocations: 1.008 MB / 0.7213 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.6274, allocations: 8 kB / 0.7213 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.6274, allocations: 0 / 0.7213 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002035/0.6294, allocations: 0.9046 MB / 0.7222 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/0.635, allocations: 2.627 MB / 0.7248 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.635, allocations: 4 kB / 0.7248 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.6357, allocations: 151.8 kB / 0.7249 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004179/0.6362, allocations: 134.8 kB / 0.725 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/0.6362, allocations: 23.98 kB / 0.7251 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.6374, allocations: 1.735 MB / 0.7268 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.6375, allocations: 7.938 kB / 0.7268 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.641, allocations: 1.607 MB / 0.7283 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007517/0.6418, allocations: 315.3 kB / 0.7286 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.6421, allocations: 31.98 kB / 0.7287 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.6432, allocations: 63.92 kB / 0.7287 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.6433, allocations: 64.25 kB / 0.7288 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-05/0.6434, allocations: 39.97 kB / 0.7288 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001528/0.645, allocations: 0.8861 MB / 0.7297 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.645, allocations: 0 / 0.7297 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002293/0.6473, allocations: 0.6522 MB / 0.7303 GB, free: 5.379 MB / 0.5606 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,5), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009214/0.6482, allocations: 384 kB / 0.7307 GB, free: 5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003685/0.6519, allocations: 1.388 MB / 0.732 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.6519, allocations: 0 / 0.732 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.6532, allocations: 462.9 kB / 0.7325 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005426/0.6586, allocations: 0.89 MB / 0.7334 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/0.6646, allocations: 2.451 MB / 0.7358 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.666, allocations: 1.187 MB / 0.7369 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00236/0.6684, allocations: 349.5 kB / 0.7372 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.6689, allocations: 115.4 kB / 0.7374 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of SimCode: time 2.134e-06/0.6689, allocations: 0 / 0.7374 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.4032/1.072, allocations: 32.83 MB / 0.7694 GB, free: 145.4 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)