Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001546/0.001546, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001299/0.001299, allocations: 196.4 kB / 16.25 MB, free: 6.633 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9834/0.9834, allocations: 135.2 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.001871, allocations: 59.5 kB / 0.5049 GB, free: 5.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1703, allocations: 80.94 MB / 0.5839 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3053/0.4757, allocations: 74.5 MB / 0.6567 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.4911, allocations: 12.64 MB / 0.669 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.4935, allocations: 59.66 kB / 0.6691 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.4959, allocations: 0.7142 MB / 0.6698 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006571/0.5025, allocations: 2.284 MB / 0.672 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.5064, allocations: 1.286 MB / 0.6733 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007641/0.514, allocations: 4.416 MB / 0.6776 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/0.5167, allocations: 1.434 MB / 0.679 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004677/0.5214, allocations: 1.631 MB / 0.6806 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.5239, allocations: 1.243 MB / 0.6818 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.5242, allocations: 162.5 kB / 0.6819 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.5277, allocations: 1.428 MB / 0.6833 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005585/0.5283, allocations: 413.1 kB / 0.6837 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.5298, allocations: 0.9041 MB / 0.6846 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004939/0.5348, allocations: 2.876 MB / 0.6874 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5348, allocations: 0 / 0.6874 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.572e-06/0.5348, allocations: 0 / 0.6874 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.716e-05/0.5349, allocations: 5.344 kB / 0.6874 GB, free: 5.066 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004672/0.5396, allocations: 2.079 MB / 0.6895 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5396, allocations: 8.719 kB / 0.6895 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.5405, allocations: 227.1 kB / 0.6897 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.5436, allocations: 1.498 MB / 0.6911 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.5437, allocations: 74.91 kB / 0.6912 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.5439, allocations: 101.8 kB / 0.6913 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.5461, allocations: 1.103 MB / 0.6924 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.5462, allocations: 5.312 kB / 0.6924 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.5463, allocations: 42.98 kB / 0.6924 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.5463, allocations: 29.02 kB / 0.6925 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.5484, allocations: 0.892 MB / 0.6933 GB, free: 1.785 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.008266/0.5567, allocations: 4.901 MB / 0.6981 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.5582, allocations: 0.6258 MB / 0.6987 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007405/0.5589, allocations: 348.8 kB / 0.6991 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000994/0.56, allocations: 0.8347 MB / 0.6999 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.56, allocations: 42.95 kB / 0.6999 GB, free: 13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.384e-06/0.56, allocations: 0 / 0.6999 GB, free: 13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007378/0.5674, allocations: 1.692 MB / 0.7016 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.5675, allocations: 58.31 kB / 0.7016 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.5697, allocations: 1.208 MB / 0.7028 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.5699, allocations: 42.8 kB / 0.7028 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006466/0.5706, allocations: 0.6029 MB / 0.7034 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.5709, allocations: 218 kB / 0.7036 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.5712, allocations: 160.2 kB / 0.7038 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5713, allocations: 332.6 kB / 0.7041 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/0.572, allocations: 297.7 kB / 0.7044 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008878/0.5729, allocations: 486.6 kB / 0.7049 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.5744, allocations: 0.7067 MB / 0.7056 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5745, allocations: 1.344 kB / 0.7056 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004961/0.5794, allocations: 1.283 MB / 0.7068 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.5795, allocations: 5.625 kB / 0.7068 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.5795, allocations: 3.625 kB / 0.7068 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007311/0.5802, allocations: 160.3 kB / 0.707 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.5809, allocations: 161.5 kB / 0.7071 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009681/0.5819, allocations: 0.7175 MB / 0.7078 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.5836, allocations: 153.4 kB / 0.708 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-05/0.5837, allocations: 31.94 kB / 0.708 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001241/0.5849, allocations: 0.5588 MB / 0.7085 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000921/0.5859, allocations: 489.6 kB / 0.709 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001494/0.5874, allocations: 0.6994 MB / 0.7097 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.5874, allocations: 1.062 kB / 0.7097 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005017/0.5924, allocations: 1.275 MB / 0.7109 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.5925, allocations: 6.281 kB / 0.7109 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5925, allocations: 3.156 kB / 0.711 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.5932, allocations: 157.9 kB / 0.7111 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.5938, allocations: 155 kB / 0.7113 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009191/0.5948, allocations: 0.718 MB / 0.712 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.5964, allocations: 136.7 kB / 0.7121 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.5965, allocations: 35.36 kB / 0.7121 GB, free: 6.461 MB / 0.5294 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.0003975/0.5969, allocations: 221.8 kB / 0.7123 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000591/0.5975, allocations: 142.6 kB / 0.7125 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004944/0.6025, allocations: 1.277 MB / 0.7137 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.6025, allocations: 6.875 kB / 0.7137 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6025, allocations: 1.375 kB / 0.7137 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004189/0.6067, allocations: 1.113 MB / 0.7148 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008263/0.615, allocations: 2.61 MB / 0.7174 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.6151, allocations: 5.156 kB / 0.7174 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.6156, allocations: 112.5 kB / 0.7175 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000645/0.6163, allocations: 146.7 kB / 0.7176 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/0.6163, allocations: 24.33 kB / 0.7176 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008605/0.6172, allocations: 0.7086 MB / 0.7183 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.6172, allocations: 13.16 kB / 0.7183 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005561/0.6228, allocations: 1.703 MB / 0.72 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.6239, allocations: 311.1 kB / 0.7203 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000501/0.6244, allocations: 23.94 kB / 0.7203 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.6258, allocations: 87.81 kB / 0.7204 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.6259, allocations: 48.31 kB / 0.7204 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.626, allocations: 39.97 kB / 0.7205 GB, free: 328 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001786/0.6278, allocations: 0.8661 MB / 0.7213 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6278, allocations: 0 / 0.7213 GB, free: 15.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002952/0.6308, allocations: 0.7018 MB / 0.722 GB, free: 14.75 MB / 0.545 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.001398/0.6322, allocations: 465.7 kB / 0.7225 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003467/0.6357, allocations: 1.161 MB / 0.7236 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6357, allocations: 3.938 kB / 0.7236 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.6368, allocations: 387.3 kB / 0.724 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/0.6412, allocations: 0.803 MB / 0.7248 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.6462, allocations: 2.745 MB / 0.7274 GB, free: 9.168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.6473, allocations: 1.168 MB / 0.7286 GB, free: 7.969 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001558/0.6489, allocations: 310.9 kB / 0.7289 GB, free: 7.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.6492, allocations: 103.4 kB / 0.729 GB, free: 7.559 MB / 0.545 GB Notification: Performance of SimCode: time 1.873e-06/0.6492, allocations: 0 / 0.729 GB, free: 7.559 MB / 0.545 GB Notification: Performance of Templates: time 0.05921/0.7084, allocations: 31.38 MB / 0.7596 GB, free: 8.559 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)