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.1985/0.2005, allocations: 80.82 MB / 0.5897 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.4648/0.6654, allocations: 73.57 MB / 0.6615 GB, free: 20.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02138/0.6868, allocations: 11.34 MB / 0.6726 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004715/0.6916, allocations: 60.19 kB / 0.6727 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00386/0.6956, allocations: 0.7295 MB / 0.6734 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.7071, allocations: 2.222 MB / 0.6755 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005433/0.7126, allocations: 1.244 MB / 0.6767 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.7243, allocations: 5.712 MB / 0.6823 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003456/0.7279, allocations: 1.173 MB / 0.6835 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005777/0.7337, allocations: 1.43 MB / 0.6849 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003981/0.7377, allocations: 1.247 MB / 0.6861 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004742/0.7382, allocations: 75.31 kB / 0.6862 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005034/0.7432, allocations: 1.16 MB / 0.6873 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005911/0.7438, allocations: 332.6 kB / 0.6876 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.7459, allocations: 0.8458 MB / 0.6884 GB, free: 5.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00516/0.751, allocations: 2.794 MB / 0.6912 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.7511, allocations: 5.375 kB / 0.6912 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7511, allocations: 3.938 kB / 0.6912 GB, free: 3.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.14e-05/0.7511, allocations: 0 / 0.6912 GB, free: 3.316 MB / 494.1 MB 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.004929/0.7561, allocations: 2.101 MB / 0.6932 GB, free: 1.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.7561, allocations: 9.969 kB / 0.6932 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.7574, allocations: 253 kB / 0.6935 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.7598, allocations: 1.434 MB / 0.6949 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.397e-05/0.7599, allocations: 84.45 kB / 0.695 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.7601, allocations: 112.4 kB / 0.6951 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.7631, allocations: 1.398 MB / 0.6964 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.7632, allocations: 6.406 kB / 0.6964 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.7633, allocations: 46.28 kB / 0.6965 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/0.7633, allocations: 38.61 kB / 0.6965 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.766, allocations: 1.073 MB / 0.6976 GB, free: 14.8 MB / 0.4981 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.008652/0.7747, allocations: 6.661 MB / 0.7041 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.7767, allocations: 0.65 MB / 0.7047 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.7774, allocations: 349.4 kB / 0.705 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.7777, allocations: 182.9 kB / 0.7052 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.7777, allocations: 45.62 kB / 0.7053 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=64): time 3.096e-06/0.7777, allocations: 0 / 0.7053 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68): time 0.007899/0.7856, allocations: 2.557 MB / 0.7078 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.7858, allocations: 167.2 kB / 0.7079 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.7878, allocations: 1.242 MB / 0.7091 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.7879, allocations: 37.7 kB / 0.7092 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006306/0.7886, allocations: 0.6488 MB / 0.7098 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.7889, allocations: 248.5 kB / 0.71 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.7892, allocations: 190.5 kB / 0.7102 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7894, allocations: 337.9 kB / 0.7105 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008363/0.7902, allocations: 348.6 kB / 0.7109 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.7913, allocations: 0.6748 MB / 0.7115 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.7931, allocations: 0.9326 MB / 0.7124 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.7931, allocations: 0 / 0.7124 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002808/0.7959, allocations: 1.141 MB / 0.7136 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.796, allocations: 8 kB / 0.7136 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.796, allocations: 8 kB / 0.7136 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.7964, allocations: 65.34 kB / 0.7136 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/0.7973, allocations: 227.6 kB / 0.7138 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004588/0.7977, allocations: 0.5874 MB / 0.7144 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.7994, allocations: 135.8 kB / 0.7145 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.7995, allocations: 43.98 kB / 0.7146 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001316/0.8008, allocations: 0.5956 MB / 0.7152 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001067/0.8019, allocations: 0.6524 MB / 0.7158 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001729/0.8036, allocations: 0.8858 MB / 0.7167 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.109e-05/0.8037, allocations: 4 kB / 0.7167 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002656/0.8063, allocations: 1.093 MB / 0.7177 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.8064, allocations: 8.844 kB / 0.7178 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.8064, allocations: 8 kB / 0.7178 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.8067, allocations: 64.81 kB / 0.7178 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.8075, allocations: 207.7 kB / 0.718 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004503/0.808, allocations: 0.5963 MB / 0.7186 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.8098, allocations: 139.8 kB / 0.7187 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.8099, allocations: 43.98 kB / 0.7188 GB, free: 10.86 MB / 0.5137 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.0003839/0.8103, allocations: 240 kB / 0.719 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.8108, allocations: 142.3 kB / 0.7191 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.8136, allocations: 1.012 MB / 0.7201 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.8137, allocations: 8 kB / 0.7201 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.8137, allocations: 0 / 0.7201 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002025/0.8157, allocations: 0.9084 MB / 0.721 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00615/0.8219, allocations: 2.62 MB / 0.7236 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.8219, allocations: 4 kB / 0.7236 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/0.8227, allocations: 151.8 kB / 0.7237 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/0.8232, allocations: 142.8 kB / 0.7239 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.8233, allocations: 23.98 kB / 0.7239 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.8246, allocations: 1.723 MB / 0.7256 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.8247, allocations: 8 kB / 0.7256 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003869/0.8285, allocations: 1.618 MB / 0.7272 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.8297, allocations: 315.3 kB / 0.7275 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005697/0.8303, allocations: 23.98 kB / 0.7275 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.8318, allocations: 99.84 kB / 0.7276 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.832, allocations: 64.23 kB / 0.7276 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.8321, allocations: 40.06 kB / 0.7277 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002007/0.8342, allocations: 0.8744 MB / 0.7285 GB, free: 472 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8342, allocations: 0 / 0.7285 GB, free: 472 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003809/0.838, allocations: 0.641 MB / 0.7292 GB, free: 15.82 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 (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.001429/0.8394, allocations: 382.1 kB / 0.7295 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004082/0.8435, allocations: 1.338 MB / 0.7308 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.8436, allocations: 7.906 kB / 0.7308 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.8448, allocations: 455.5 kB / 0.7313 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005475/0.8503, allocations: 0.8308 MB / 0.7321 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006004/0.8564, allocations: 2.928 MB / 0.7349 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.8576, allocations: 1.187 MB / 0.7361 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002304/0.8599, allocations: 352.5 kB / 0.7364 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/0.8605, allocations: 115.4 kB / 0.7366 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of SimCode: time 1.884e-06/0.8605, allocations: 0 / 0.7366 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of Templates: time 0.06602/0.9265, allocations: 31.06 MB / 0.7669 GB, free: 9.504 MB / 0.5606 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)