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.001265/0.001265, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001305/0.001305, allocations: 197.9 kB / 16.26 MB, free: 6.629 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9419/0.9419, allocations: 135.6 MB / 425.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.75 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 81.02 MB / 0.5845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.317/0.4938, allocations: 74.5 MB / 0.6572 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.5094, allocations: 12.65 MB / 0.6696 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.5121, allocations: 64.69 kB / 0.6696 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.5149, allocations: 0.7171 MB / 0.6703 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007519/0.5225, allocations: 2.283 MB / 0.6726 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003973/0.5264, allocations: 1.283 MB / 0.6738 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006989/0.5334, allocations: 4.404 MB / 0.6781 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.5362, allocations: 1.438 MB / 0.6795 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.5414, allocations: 1.631 MB / 0.6811 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.5442, allocations: 1.237 MB / 0.6823 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007071/0.5449, allocations: 162.2 kB / 0.6825 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005541/0.5505, allocations: 1.437 MB / 0.6839 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008796/0.5514, allocations: 399.9 kB / 0.6843 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002963/0.5544, allocations: 0.9123 MB / 0.6852 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007203/0.5616, allocations: 2.872 MB / 0.688 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5616, allocations: 0 / 0.688 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5616, allocations: 1.25 kB / 0.688 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001141/0.5617, allocations: 0.6094 kB / 0.688 GB, free: 4.57 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.006889/0.5686, allocations: 2.08 MB / 0.69 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5687, allocations: 10 kB / 0.69 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.5701, allocations: 234.8 kB / 0.6902 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/0.5737, allocations: 1.498 MB / 0.6917 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.5738, allocations: 75.78 kB / 0.6918 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.5741, allocations: 100.6 kB / 0.6919 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.5768, allocations: 1.104 MB / 0.6929 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.5768, allocations: 1.438 kB / 0.6929 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.5769, allocations: 45.27 kB / 0.693 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.577, allocations: 25.31 kB / 0.693 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.5791, allocations: 0.889 MB / 0.6939 GB, free: 1.285 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.007946/0.5871, allocations: 4.907 MB / 0.6987 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.5886, allocations: 0.6248 MB / 0.6993 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.5894, allocations: 354.3 kB / 0.6996 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008183/0.5902, allocations: 0.8288 MB / 0.7004 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.615e-05/0.5903, allocations: 42.62 kB / 0.7005 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/0.5904, allocations: 0 / 0.7005 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007449/0.5978, allocations: 1.693 MB / 0.7021 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.5979, allocations: 58.62 kB / 0.7022 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.6, allocations: 1.204 MB / 0.7034 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.6002, allocations: 43.39 kB / 0.7034 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006687/0.6009, allocations: 0.6008 MB / 0.704 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.6012, allocations: 217.3 kB / 0.7042 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.6015, allocations: 162.1 kB / 0.7043 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6016, allocations: 334 kB / 0.7047 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006758/0.6023, allocations: 291.9 kB / 0.7049 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009076/0.6032, allocations: 491.3 kB / 0.7054 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.6047, allocations: 0.7131 MB / 0.7061 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.6048, allocations: 0.9375 kB / 0.7061 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004784/0.6095, allocations: 1.276 MB / 0.7074 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.6096, allocations: 7.031 kB / 0.7074 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.6096, allocations: 12.95 kB / 0.7074 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006951/0.6103, allocations: 153.9 kB / 0.7075 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.6109, allocations: 159.6 kB / 0.7077 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009744/0.6119, allocations: 0.7092 MB / 0.7084 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.6133, allocations: 165.1 kB / 0.7085 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.6134, allocations: 27.38 kB / 0.7086 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.6146, allocations: 0.558 MB / 0.7091 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009526/0.6156, allocations: 494.4 kB / 0.7096 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001489/0.6171, allocations: 0.7035 MB / 0.7103 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.6171, allocations: 0 / 0.7103 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004811/0.6219, allocations: 1.271 MB / 0.7115 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.622, allocations: 6.375 kB / 0.7115 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.622, allocations: 3.594 kB / 0.7115 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/0.6226, allocations: 157.2 kB / 0.7117 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/0.6233, allocations: 155.2 kB / 0.7118 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009399/0.6243, allocations: 0.7213 MB / 0.7125 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.6259, allocations: 132.7 kB / 0.7126 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.626, allocations: 35.08 kB / 0.7127 GB, free: 5.824 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.0003972/0.6264, allocations: 222.3 kB / 0.7129 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006193/0.627, allocations: 138.8 kB / 0.713 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00501/0.6321, allocations: 1.287 MB / 0.7143 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.6321, allocations: 9.609 kB / 0.7143 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6321, allocations: 0 / 0.7143 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004094/0.6362, allocations: 1.119 MB / 0.7154 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007805/0.644, allocations: 2.602 MB / 0.7179 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.6441, allocations: 3.344 kB / 0.7179 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.6446, allocations: 113.6 kB / 0.718 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006351/0.6452, allocations: 158.3 kB / 0.7182 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.6453, allocations: 16.28 kB / 0.7182 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008871/0.6462, allocations: 0.7129 MB / 0.7189 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.6462, allocations: 6.438 kB / 0.7189 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005504/0.6517, allocations: 1.701 MB / 0.7206 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008372/0.6526, allocations: 311.2 kB / 0.7209 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.6529, allocations: 12 kB / 0.7209 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.654, allocations: 95.81 kB / 0.721 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.6542, allocations: 48.31 kB / 0.721 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.6543, allocations: 31.98 kB / 0.721 GB, free: 15.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001479/0.6557, allocations: 0.8699 MB / 0.7219 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6557, allocations: 0 / 0.7219 GB, free: 14.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002213/0.658, allocations: 0.7018 MB / 0.7226 GB, free: 13.98 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.001103/0.6591, allocations: 462.2 kB / 0.723 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003015/0.6621, allocations: 1.165 MB / 0.7241 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.6621, allocations: 0 / 0.7241 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.6631, allocations: 390.4 kB / 0.7245 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/0.6668, allocations: 0.8087 MB / 0.7253 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.6713, allocations: 2.756 MB / 0.728 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009791/0.6723, allocations: 1.172 MB / 0.7291 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001428/0.6737, allocations: 305.1 kB / 0.7294 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.674, allocations: 103.4 kB / 0.7295 GB, free: 6.797 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.674, allocations: 0 / 0.7295 GB, free: 6.797 MB / 0.545 GB Notification: Performance of Templates: time 0.06114/0.7352, allocations: 31.37 MB / 0.7602 GB, free: 7.812 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)