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.001373/0.001373, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 197 kB / 16.53 MB, free: 6.664 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.551/1.551, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9429/0.9429, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.34 kB / 0.5053 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1784, allocations: 80.92 MB / 0.5844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3738/0.5523, allocations: 75.14 MB / 0.6577 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.5693, allocations: 12.73 MB / 0.6702 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.572, allocations: 66.97 kB / 0.6702 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002258/0.5742, allocations: 0.8344 MB / 0.671 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007334/0.5816, allocations: 2.45 MB / 0.6734 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.5855, allocations: 1.39 MB / 0.6748 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006504/0.592, allocations: 4.369 MB / 0.6791 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.5942, allocations: 1.44 MB / 0.6805 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.5984, allocations: 1.618 MB / 0.6821 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.6016, allocations: 1.2 MB / 0.6832 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005307/0.6022, allocations: 162.4 kB / 0.6834 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.6069, allocations: 1.419 MB / 0.6848 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006133/0.6075, allocations: 397.2 kB / 0.6851 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.6092, allocations: 0.9101 MB / 0.686 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005482/0.6147, allocations: 2.856 MB / 0.6888 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6148, allocations: 0 / 0.6888 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6148, allocations: 0 / 0.6888 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.02e-05/0.6148, allocations: 1.188 kB / 0.6888 GB, free: 4.359 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.004526/0.6193, allocations: 2.086 MB / 0.6909 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.6194, allocations: 10.47 kB / 0.6909 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.6205, allocations: 230.6 kB / 0.6911 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.6233, allocations: 1.457 MB / 0.6925 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.6234, allocations: 76.47 kB / 0.6926 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.6236, allocations: 108.8 kB / 0.6927 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.626, allocations: 1.103 MB / 0.6938 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.626, allocations: 1.922 kB / 0.6938 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.6262, allocations: 40.52 kB / 0.6938 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.6262, allocations: 25.25 kB / 0.6938 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.6283, allocations: 0.8893 MB / 0.6947 GB, free: 1.086 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.00801/0.6364, allocations: 4.945 MB / 0.6995 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.6378, allocations: 0.6243 MB / 0.7001 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.6386, allocations: 352.1 kB / 0.7005 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007297/0.6393, allocations: 0.8354 MB / 0.7013 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6394, allocations: 38.91 kB / 0.7013 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 3.006e-06/0.6394, allocations: 0 / 0.7013 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.00772/0.6471, allocations: 1.693 MB / 0.703 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.6472, allocations: 59.25 kB / 0.703 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.6491, allocations: 1.227 MB / 0.7042 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.6492, allocations: 42.8 kB / 0.7043 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.6497, allocations: 0.5931 MB / 0.7049 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.65, allocations: 227.3 kB / 0.7051 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.6502, allocations: 151.3 kB / 0.7052 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6504, allocations: 333.4 kB / 0.7055 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006773/0.651, allocations: 296.7 kB / 0.7058 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/0.6519, allocations: 489.1 kB / 0.7063 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.6533, allocations: 0.7102 MB / 0.707 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6533, allocations: 1.312 kB / 0.707 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004798/0.6581, allocations: 1.279 MB / 0.7082 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.6581, allocations: 6.844 kB / 0.7082 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.6581, allocations: 3.969 kB / 0.7082 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007023/0.6588, allocations: 157.7 kB / 0.7084 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.6595, allocations: 161.8 kB / 0.7085 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008355/0.6603, allocations: 0.7121 MB / 0.7092 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.6615, allocations: 129.8 kB / 0.7094 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.6616, allocations: 31.33 kB / 0.7094 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001133/0.6628, allocations: 0.5557 MB / 0.7099 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008172/0.6636, allocations: 488.9 kB / 0.7104 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00137/0.665, allocations: 0.7028 MB / 0.7111 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.277e-06/0.665, allocations: 1.188 kB / 0.7111 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004801/0.6698, allocations: 1.275 MB / 0.7123 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6698, allocations: 6.312 kB / 0.7123 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6698, allocations: 2.625 kB / 0.7123 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006325/0.6705, allocations: 163.3 kB / 0.7125 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.6711, allocations: 156.8 kB / 0.7126 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008109/0.6719, allocations: 0.7128 MB / 0.7133 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.6734, allocations: 95.45 kB / 0.7134 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.6735, allocations: 39.36 kB / 0.7135 GB, free: 5.316 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.0003722/0.6739, allocations: 221.8 kB / 0.7137 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/0.6742, allocations: 138.9 kB / 0.7138 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/0.6792, allocations: 1.285 MB / 0.7151 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/0.6793, allocations: 15.33 kB / 0.7151 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.6793, allocations: 0 / 0.7151 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004178/0.6835, allocations: 1.11 MB / 0.7162 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007758/0.6913, allocations: 2.622 MB / 0.7187 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.6913, allocations: 2.156 kB / 0.7187 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.6918, allocations: 111.2 kB / 0.7188 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006475/0.6925, allocations: 153.9 kB / 0.719 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/0.6926, allocations: 28.2 kB / 0.719 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008939/0.6935, allocations: 0.7005 MB / 0.7197 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.6935, allocations: 9.5 kB / 0.7197 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005746/0.6992, allocations: 1.698 MB / 0.7214 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.7003, allocations: 319.1 kB / 0.7217 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/0.7009, allocations: 12 kB / 0.7217 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.7021, allocations: 61.25 kB / 0.7217 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.7023, allocations: 52.38 kB / 0.7218 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/0.7024, allocations: 31.98 kB / 0.7218 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001781/0.7042, allocations: 0.8855 MB / 0.7227 GB, free: 14.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7042, allocations: 0 / 0.7227 GB, free: 14.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004243/0.7084, allocations: 0.7096 MB / 0.7234 GB, free: 13.56 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.001637/0.7101, allocations: 461.1 kB / 0.7238 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003097/0.7132, allocations: 1.161 MB / 0.7249 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.7132, allocations: 4.938 kB / 0.725 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.7142, allocations: 396.3 kB / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/0.7183, allocations: 0.8069 MB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.7224, allocations: 2.307 MB / 0.7284 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.7232, allocations: 1.176 MB / 0.7295 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001253/0.7244, allocations: 310.9 kB / 0.7298 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.7247, allocations: 103.4 kB / 0.7299 GB, free: 6.797 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.7247, allocations: 0 / 0.7299 GB, free: 6.797 MB / 0.545 GB Notification: Performance of Templates: time 0.05441/0.7791, allocations: 31.97 MB / 0.7611 GB, free: 7.199 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)