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-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_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.0008604/0.0008602, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.000868/0.0008681, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8348/0.8348, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002702, allocations: 10.78 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1459, allocations: 82.31 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.2974/0.4434, allocations: 62.92 MB / 0.6486 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.4544, allocations: 10.97 MB / 0.6594 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.4558, allocations: 51.59 kB / 0.6594 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.4574, allocations: 0.7413 MB / 0.6601 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004794/0.4622, allocations: 2.308 MB / 0.6624 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.4657, allocations: 1.513 MB / 0.6639 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003635/0.4693, allocations: 2.504 MB / 0.6663 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.4709, allocations: 1.044 MB / 0.6673 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.473, allocations: 1.158 MB / 0.6685 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.4741, allocations: 0.7677 MB / 0.6692 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.4742, allocations: 59.47 kB / 0.6693 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.4764, allocations: 0.8504 MB / 0.6701 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.4767, allocations: 264.2 kB / 0.6703 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.4771, allocations: 355.5 kB / 0.6707 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.4796, allocations: 2.028 MB / 0.6727 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.4796, allocations: 0 / 0.6727 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4796, allocations: 1.812 kB / 0.6727 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.13e-05/0.4796, allocations: 0 / 0.6727 GB, free: 1.617 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.00326/0.4829, allocations: 1.788 MB / 0.6744 GB, free: 464 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4829, allocations: 8.094 kB / 0.6744 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007603/0.4837, allocations: 244.8 kB / 0.6747 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.486, allocations: 1.371 MB / 0.676 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.4861, allocations: 80.69 kB / 0.6761 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.4863, allocations: 100.6 kB / 0.6762 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.4883, allocations: 1.107 MB / 0.6772 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.4884, allocations: 0.9688 kB / 0.6772 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.4885, allocations: 45.92 kB / 0.6773 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.4885, allocations: 29.73 kB / 0.6773 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.4906, allocations: 0.9255 MB / 0.6782 GB, free: 14.61 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.006456/0.497, allocations: 4.956 MB / 0.6831 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.4984, allocations: 0.6479 MB / 0.6837 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006324/0.4991, allocations: 0.8244 MB / 0.6845 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4991, allocations: 45.81 kB / 0.6845 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.495e-06/0.4991, allocations: 1.375 kB / 0.6845 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.007037/0.5062, allocations: 1.889 MB / 0.6864 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.5062, allocations: 58.86 kB / 0.6864 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.508, allocations: 1.249 MB / 0.6877 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.5081, allocations: 43.58 kB / 0.6877 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.5086, allocations: 0.5958 MB / 0.6883 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.5088, allocations: 222.7 kB / 0.6885 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.5088, allocations: 15.53 kB / 0.6885 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.509, allocations: 336.6 kB / 0.6888 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.5096, allocations: 299.7 kB / 0.6891 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008051/0.5105, allocations: 499.7 kB / 0.6896 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007084/0.5112, allocations: 371.6 kB / 0.69 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.5112, allocations: 1.531 kB / 0.69 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004547/0.5157, allocations: 1.389 MB / 0.6913 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004588/0.5162, allocations: 1.334 MB / 0.6926 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5162, allocations: 7.188 kB / 0.6926 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006809/0.5169, allocations: 171.4 kB / 0.6928 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.5175, allocations: 164.8 kB / 0.6929 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008107/0.5184, allocations: 0.7299 MB / 0.6937 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.5196, allocations: 173.9 kB / 0.6938 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.5197, allocations: 34.5 kB / 0.6939 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.5197, allocations: 3.25 kB / 0.6939 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004107/0.5238, allocations: 1.258 MB / 0.6951 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5238, allocations: 3.594 kB / 0.6951 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.5244, allocations: 157.2 kB / 0.6952 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.525, allocations: 167 kB / 0.6954 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007873/0.5258, allocations: 0.7276 MB / 0.6961 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.5269, allocations: 158.1 kB / 0.6963 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/0.527, allocations: 38.23 kB / 0.6963 GB, free: 3.652 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007058/0.5277, allocations: 429.3 kB / 0.6967 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.5279, allocations: 133.4 kB / 0.6968 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/0.5324, allocations: 1.412 MB / 0.6982 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.5324, allocations: 9.234 kB / 0.6982 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.5324, allocations: 0 / 0.6982 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003989/0.5364, allocations: 1.239 MB / 0.6994 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006448/0.5429, allocations: 2.774 MB / 0.7021 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.5429, allocations: 3.344 kB / 0.7021 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.5434, allocations: 121.5 kB / 0.7023 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.5439, allocations: 168.3 kB / 0.7024 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.544, allocations: 20.77 kB / 0.7024 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007611/0.5448, allocations: 0.7205 MB / 0.7031 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.5448, allocations: 2.781 kB / 0.7031 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.5499, allocations: 2.067 MB / 0.7052 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007229/0.5506, allocations: 346 kB / 0.7055 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.5508, allocations: 22.3 kB / 0.7055 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.5516, allocations: 90.66 kB / 0.7056 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.5517, allocations: 58.86 kB / 0.7057 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.5518, allocations: 30.52 kB / 0.7057 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001199/0.553, allocations: 0.8956 MB / 0.7066 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.553, allocations: 0 / 0.7066 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002109/0.5551, allocations: 0.7106 MB / 0.7073 GB, free: 13.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008299/0.556, allocations: 457.4 kB / 0.7077 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.5584, allocations: 1.163 MB / 0.7088 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5584, allocations: 2.094 kB / 0.7088 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000772/0.5592, allocations: 413.6 kB / 0.7092 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.5624, allocations: 0.7423 MB / 0.7099 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.566, allocations: 2.774 MB / 0.7127 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.5667, allocations: 1.202 MB / 0.7138 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001169/0.5678, allocations: 303 kB / 0.7141 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.5681, allocations: 103.4 kB / 0.7142 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of SimCode: time 4.7e-07/0.5681, allocations: 0 / 0.7142 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.04057/0.6086, allocations: 29.87 MB / 0.7434 GB, free: 11.46 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: