Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 90.42 kB / 16.67 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 182.4 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7512/0.7512, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3663, allocations: 77.52 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06472/0.431, allocations: 73.4 MB / 0.6323 GB, free: 9.836 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01826/0.4493, allocations: 12.68 MB / 0.6446 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.4519, allocations: 55.62 kB / 0.6447 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.4543, allocations: 0.6721 MB / 0.6454 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00679/0.4611, allocations: 2.278 MB / 0.6476 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.4646, allocations: 1.267 MB / 0.6488 GB, free: 8.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007168/0.4718, allocations: 5.546 MB / 0.6542 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.4739, allocations: 1.153 MB / 0.6554 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.4769, allocations: 1.306 MB / 0.6566 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.479, allocations: 1.139 MB / 0.6577 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.4793, allocations: 56 kB / 0.6578 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.4823, allocations: 1.255 MB / 0.659 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003844/0.4827, allocations: 290.6 kB / 0.6593 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.4839, allocations: 0.7984 MB / 0.6601 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.487, allocations: 2.17 MB / 0.6622 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.487, allocations: 0 / 0.6622 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.595e-06/0.487, allocations: 0 / 0.6622 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.486e-05/0.4871, allocations: 0 / 0.6622 GB, free: 11.07 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003766/0.4908, allocations: 1.787 MB / 0.6639 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4909, allocations: 11.97 kB / 0.664 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000881/0.4918, allocations: 238.8 kB / 0.6642 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002627/0.4944, allocations: 1.503 MB / 0.6656 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.4945, allocations: 78 kB / 0.6657 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.4947, allocations: 100 kB / 0.6658 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.4969, allocations: 1.124 MB / 0.6669 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.4969, allocations: 7.906 kB / 0.6669 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/0.497, allocations: 40 kB / 0.667 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.4971, allocations: 24 kB / 0.667 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.4991, allocations: 0.9368 MB / 0.6679 GB, free: 5.074 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.006473/0.5056, allocations: 4.913 MB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.5071, allocations: 0.6574 MB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007907/0.5079, allocations: 376 kB / 0.6737 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006958/0.5086, allocations: 0.8316 MB / 0.6745 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5087, allocations: 39.12 kB / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 3.517e-06/0.5087, allocations: 0 / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.008001/0.5167, allocations: 1.9 MB / 0.6764 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.5168, allocations: 59.97 kB / 0.6765 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.5186, allocations: 1.214 MB / 0.6776 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5187, allocations: 37.7 kB / 0.6777 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005548/0.5193, allocations: 0.5988 MB / 0.6783 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.5196, allocations: 216.8 kB / 0.6785 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.5197, allocations: 65.67 kB / 0.6785 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5198, allocations: 334 kB / 0.6789 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.5205, allocations: 301.8 kB / 0.6791 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008897/0.5214, allocations: 0.5106 MB / 0.6796 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.523, allocations: 0.7433 MB / 0.6804 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.523, allocations: 7.938 kB / 0.6804 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00522/0.5282, allocations: 1.417 MB / 0.6818 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.5284, allocations: 189.4 kB / 0.6819 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.5284, allocations: 4 kB / 0.6819 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007858/0.5292, allocations: 168.7 kB / 0.6821 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/0.5299, allocations: 163.7 kB / 0.6823 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009685/0.5309, allocations: 0.7278 MB / 0.683 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.5322, allocations: 167.1 kB / 0.6831 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/0.5323, allocations: 31.98 kB / 0.6832 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.5323, allocations: 8 kB / 0.6832 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005015/0.5373, allocations: 1.261 MB / 0.6844 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5374, allocations: 4 kB / 0.6844 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006801/0.5381, allocations: 165 kB / 0.6846 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.5387, allocations: 159.8 kB / 0.6847 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009346/0.5397, allocations: 0.7336 MB / 0.6854 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.541, allocations: 168.3 kB / 0.6856 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/0.5411, allocations: 28 kB / 0.6856 GB, free: 2.121 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007224/0.5418, allocations: 413 kB / 0.686 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.5422, allocations: 134.4 kB / 0.6861 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/0.5475, allocations: 1.42 MB / 0.6875 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.5475, allocations: 11.92 kB / 0.6875 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.5475, allocations: 0 / 0.6875 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004771/0.5523, allocations: 1.248 MB / 0.6888 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007625/0.56, allocations: 2.754 MB / 0.6914 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.56, allocations: 4 kB / 0.6914 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.5605, allocations: 120.3 kB / 0.6916 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006985/0.5613, allocations: 159.3 kB / 0.6917 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.5613, allocations: 19.98 kB / 0.6917 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009131/0.5623, allocations: 0.724 MB / 0.6924 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.5623, allocations: 7.938 kB / 0.6924 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006045/0.5683, allocations: 1.856 MB / 0.6943 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008263/0.5692, allocations: 339 kB / 0.6946 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.5695, allocations: 12 kB / 0.6946 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5707, allocations: 87.97 kB / 0.6947 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.5709, allocations: 60.25 kB / 0.6947 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.362e-05/0.571, allocations: 31.98 kB / 0.6948 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001602/0.5726, allocations: 0.866 MB / 0.6956 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.6e-07/0.5726, allocations: 4 kB / 0.6956 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002164/0.5747, allocations: 0.7017 MB / 0.6963 GB, free: 6.883 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.5758, allocations: 463.2 kB / 0.6967 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00299/0.5788, allocations: 1.172 MB / 0.6979 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5789, allocations: 0 / 0.6979 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.5799, allocations: 411.2 kB / 0.6983 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/0.5849, allocations: 0.8062 MB / 0.6991 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/0.5899, allocations: 2.838 MB / 0.7018 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000894/0.5909, allocations: 1.169 MB / 0.703 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.5913, allocations: 119.3 kB / 0.7031 GB, free: 15.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/0.5914, allocations: 0 / 0.7031 GB, free: 15.84 MB / 0.545 GB Notification: Performance of Templates: time 0.04304/0.6344, allocations: 30.64 MB / 0.733 GB, free: 1.371 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)