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.0009341/0.0009342, allocations: 92.16 kB / 16.02 MB, free: 80 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.001056/0.001056, allocations: 174.5 kB / 16.92 MB, free: 6.652 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.315/1.315, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.935/0.935, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002966, allocations: 13.38 kB / 0.5082 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1557, allocations: 82.3 MB / 0.5886 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3112/0.4669, allocations: 73.4 MB / 0.6603 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.481, allocations: 12.65 MB / 0.6726 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.483, allocations: 61.34 kB / 0.6727 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.4848, allocations: 0.676 MB / 0.6734 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005795/0.4906, allocations: 2.263 MB / 0.6756 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.4937, allocations: 1.268 MB / 0.6768 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007073/0.5008, allocations: 5.539 MB / 0.6822 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.5031, allocations: 1.154 MB / 0.6833 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.5062, allocations: 1.315 MB / 0.6846 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.5086, allocations: 1.145 MB / 0.6857 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.509, allocations: 54.75 kB / 0.6858 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.5124, allocations: 1.254 MB / 0.687 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.5129, allocations: 286.7 kB / 0.6873 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.5145, allocations: 0.7936 MB / 0.6881 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.5177, allocations: 2.172 MB / 0.6902 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.5178, allocations: 0.9375 kB / 0.6902 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5178, allocations: 0 / 0.6902 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.466e-05/0.5178, allocations: 0 / 0.6902 GB, free: 6.52 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.004407/0.5223, allocations: 1.789 MB / 0.6919 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.5223, allocations: 9.984 kB / 0.6919 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.5234, allocations: 240.8 kB / 0.6922 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/0.5263, allocations: 1.495 MB / 0.6936 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/0.5263, allocations: 75.44 kB / 0.6937 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.5266, allocations: 105.3 kB / 0.6938 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.5289, allocations: 1.122 MB / 0.6949 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.5289, allocations: 0 / 0.6949 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.5291, allocations: 37.69 kB / 0.6949 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/0.5291, allocations: 33.39 kB / 0.695 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.5313, allocations: 0.9289 MB / 0.6959 GB, free: 3.422 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.007258/0.5386, allocations: 4.917 MB / 0.7007 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.5403, allocations: 0.6569 MB / 0.7013 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008748/0.5412, allocations: 379 kB / 0.7017 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007081/0.5419, allocations: 0.8297 MB / 0.7025 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.5419, allocations: 44.34 kB / 0.7025 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.475e-06/0.5419, allocations: 0 / 0.7025 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007776/0.5497, allocations: 1.895 MB / 0.7044 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.5498, allocations: 58.09 kB / 0.7044 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.5519, allocations: 1.205 MB / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.5521, allocations: 42.92 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.5526, allocations: 0.6044 MB / 0.7062 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.5529, allocations: 217.7 kB / 0.7065 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.553, allocations: 66.69 kB / 0.7065 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5531, allocations: 334.1 kB / 0.7068 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007399/0.5538, allocations: 305.1 kB / 0.7071 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.5547, allocations: 0.5005 MB / 0.7076 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.5563, allocations: 0.7501 MB / 0.7084 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5563, allocations: 1.281 kB / 0.7084 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005088/0.5614, allocations: 1.414 MB / 0.7097 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.5615, allocations: 187.7 kB / 0.7099 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.5615, allocations: 7.391 kB / 0.7099 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007169/0.5623, allocations: 165.7 kB / 0.7101 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.5629, allocations: 171.6 kB / 0.7102 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000893/0.5638, allocations: 0.729 MB / 0.711 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.5652, allocations: 164.8 kB / 0.7111 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/0.5653, allocations: 31.81 kB / 0.7111 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.5653, allocations: 6.688 kB / 0.7111 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004734/0.5701, allocations: 1.268 MB / 0.7124 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5701, allocations: 2.281 kB / 0.7124 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005963/0.5707, allocations: 166.2 kB / 0.7125 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.5713, allocations: 163.1 kB / 0.7127 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008432/0.5721, allocations: 0.7332 MB / 0.7134 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.5734, allocations: 158.1 kB / 0.7136 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.5735, allocations: 34.89 kB / 0.7136 GB, free: 8.477 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.0007536/0.5743, allocations: 414.9 kB / 0.714 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.5746, allocations: 139.6 kB / 0.7141 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/0.5796, allocations: 1.413 MB / 0.7155 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.5797, allocations: 15.41 kB / 0.7155 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5797, allocations: 0 / 0.7155 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004386/0.5841, allocations: 1.247 MB / 0.7167 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00687/0.591, allocations: 2.744 MB / 0.7194 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.591, allocations: 3.125 kB / 0.7194 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.5914, allocations: 124 kB / 0.7195 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005907/0.592, allocations: 161.6 kB / 0.7197 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.5921, allocations: 17.91 kB / 0.7197 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007898/0.5929, allocations: 0.7263 MB / 0.7204 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5929, allocations: 6.688 kB / 0.7204 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.5984, allocations: 1.858 MB / 0.7222 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006931/0.5991, allocations: 339.1 kB / 0.7226 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.5994, allocations: 20 kB / 0.7226 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009855/0.6004, allocations: 91.81 kB / 0.7227 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6005, allocations: 60.23 kB / 0.7227 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.764e-05/0.6006, allocations: 35.97 kB / 0.7228 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001255/0.6018, allocations: 0.8699 MB / 0.7236 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6018, allocations: 0 / 0.7236 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002008/0.6038, allocations: 0.7018 MB / 0.7243 GB, free: 260 kB / 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 (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.001002/0.6049, allocations: 453.8 kB / 0.7247 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.6075, allocations: 1.177 MB / 0.7259 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6075, allocations: 0 / 0.7259 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.6085, allocations: 413 kB / 0.7263 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/0.6127, allocations: 0.7912 MB / 0.7271 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.6168, allocations: 2.841 MB / 0.7298 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.6176, allocations: 1.165 MB / 0.731 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.6179, allocations: 119.4 kB / 0.7311 GB, free: 9.23 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.6179, allocations: 0 / 0.7311 GB, free: 9.23 MB / 0.545 GB Notification: Performance of Templates: time 0.0373/0.6553, allocations: 30.65 MB / 0.761 GB, free: 10.76 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)