Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001474/0.001474, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.0017/0.0017, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8757/0.8757, allocations: 132.2 MB / 423.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4074, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.09361/0.501, allocations: 75.15 MB / 0.6549 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03384/0.5349, allocations: 12.74 MB / 0.6673 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.5387, allocations: 67.62 kB / 0.6674 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004275/0.5431, allocations: 0.8267 MB / 0.6682 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009167/0.5523, allocations: 2.46 MB / 0.6706 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.557, allocations: 1.398 MB / 0.6719 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007057/0.5641, allocations: 4.383 MB / 0.6762 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002548/0.5666, allocations: 1.447 MB / 0.6776 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004247/0.5709, allocations: 1.616 MB / 0.6792 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.5733, allocations: 1.202 MB / 0.6804 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.5738, allocations: 164 kB / 0.6805 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.5773, allocations: 1.419 MB / 0.6819 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005826/0.5779, allocations: 398.6 kB / 0.6823 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.5795, allocations: 0.9099 MB / 0.6832 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.5841, allocations: 2.875 MB / 0.686 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5842, allocations: 3.938 kB / 0.686 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5842, allocations: 7.938 kB / 0.686 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.959e-05/0.5842, allocations: 0 / 0.686 GB, free: 2.871 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.003936/0.5882, allocations: 2.091 MB / 0.6881 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5882, allocations: 8.031 kB / 0.6881 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008097/0.589, allocations: 226.8 kB / 0.6883 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.5918, allocations: 1.528 MB / 0.6898 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.5918, allocations: 74 kB / 0.6898 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.592, allocations: 100 kB / 0.6899 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.594, allocations: 1.108 MB / 0.691 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.594, allocations: 3.938 kB / 0.691 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/0.5941, allocations: 36 kB / 0.6911 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.5941, allocations: 28 kB / 0.6911 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.5959, allocations: 0.8861 MB / 0.692 GB, free: 12.63 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.006221/0.6021, allocations: 4.911 MB / 0.6967 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.6034, allocations: 0.6194 MB / 0.6974 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006514/0.6041, allocations: 353.4 kB / 0.6977 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006879/0.6048, allocations: 0.8355 MB / 0.6985 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.6049, allocations: 39.12 kB / 0.6985 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.284e-06/0.6049, allocations: 3.938 kB / 0.6985 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.006606/0.6115, allocations: 1.693 MB / 0.7002 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.6115, allocations: 59.97 kB / 0.7003 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.6134, allocations: 1.225 MB / 0.7015 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.6135, allocations: 45.7 kB / 0.7015 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.614, allocations: 0.5987 MB / 0.7021 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.6142, allocations: 216.9 kB / 0.7023 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.6145, allocations: 158.5 kB / 0.7024 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6146, allocations: 330 kB / 0.7028 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/0.6152, allocations: 292.7 kB / 0.703 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/0.616, allocations: 491 kB / 0.7035 GB, free: 156 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.6174, allocations: 0.7121 MB / 0.7042 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.6175, allocations: 3.938 kB / 0.7042 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004549/0.622, allocations: 1.277 MB / 0.7054 GB, free: 14.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.6221, allocations: 4 kB / 0.7055 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.6221, allocations: 7.984 kB / 0.7055 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006695/0.6227, allocations: 153.1 kB / 0.7056 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.6234, allocations: 155.8 kB / 0.7058 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008716/0.6242, allocations: 0.7279 MB / 0.7065 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.6254, allocations: 115 kB / 0.7066 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.6255, allocations: 31.98 kB / 0.7066 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001031/0.6266, allocations: 0.5644 MB / 0.7072 GB, free: 12.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007486/0.6273, allocations: 479 kB / 0.7076 GB, free: 11.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001268/0.6286, allocations: 0.7004 MB / 0.7083 GB, free: 11.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.554e-06/0.6286, allocations: 0 / 0.7083 GB, free: 11.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004331/0.633, allocations: 1.273 MB / 0.7095 GB, free: 9.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.633, allocations: 8 kB / 0.7095 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.633, allocations: 4 kB / 0.7096 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.6336, allocations: 160.8 kB / 0.7097 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.6343, allocations: 159.8 kB / 0.7099 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008637/0.6352, allocations: 0.7232 MB / 0.7106 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009742/0.6362, allocations: 95.58 kB / 0.7107 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.6363, allocations: 35.98 kB / 0.7107 GB, free: 8.539 MB / 0.545 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.0002515/0.6365, allocations: 224 kB / 0.7109 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.6368, allocations: 134.3 kB / 0.711 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.6413, allocations: 1.283 MB / 0.7123 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.6413, allocations: 4 kB / 0.7123 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.6413, allocations: 4 kB / 0.7123 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003855/0.6452, allocations: 1.111 MB / 0.7134 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006643/0.6518, allocations: 2.622 MB / 0.7159 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.6519, allocations: 8.062 kB / 0.7159 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.6524, allocations: 107.9 kB / 0.716 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007178/0.6531, allocations: 148.7 kB / 0.7162 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.6532, allocations: 20 kB / 0.7162 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008254/0.654, allocations: 0.72 MB / 0.7169 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.654, allocations: 4 kB / 0.7169 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004989/0.659, allocations: 1.703 MB / 0.7186 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007787/0.6598, allocations: 311.3 kB / 0.7189 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.66, allocations: 20.06 kB / 0.7189 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007674/0.6608, allocations: 51.94 kB / 0.7189 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.661, allocations: 56.25 kB / 0.719 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.661, allocations: 35.97 kB / 0.719 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001365/0.6624, allocations: 0.8777 MB / 0.7199 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6624, allocations: 3.938 kB / 0.7199 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001724/0.6641, allocations: 0.7135 MB / 0.7206 GB, free: 14.11 MB / 0.5606 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.0008579/0.665, allocations: 466.4 kB / 0.721 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002532/0.6675, allocations: 1.137 MB / 0.7221 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6676, allocations: 0 / 0.7221 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008698/0.6684, allocations: 387.4 kB / 0.7225 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.6715, allocations: 0.7959 MB / 0.7233 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.6753, allocations: 2.266 MB / 0.7255 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009157/0.6762, allocations: 1.172 MB / 0.7266 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001073/0.6773, allocations: 303 kB / 0.7269 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.6775, allocations: 111.4 kB / 0.727 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.6775, allocations: 0 / 0.727 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of Templates: time 0.333/1.011, allocations: 31.94 MB / 0.7582 GB, free: 149.1 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)