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.001471/0.001471, allocations: 102.2 kB / 16.27 MB, free: 6 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.001451/0.001451, allocations: 191 kB / 17.2 MB, free: 5.609 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7923/0.7923, allocations: 135.2 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3273, allocations: 80.92 MB / 0.5851 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06514/0.3925, allocations: 75.14 MB / 0.6584 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.4106, allocations: 12.73 MB / 0.6709 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.4129, allocations: 71.56 kB / 0.6709 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.4151, allocations: 0.8267 MB / 0.6717 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.4216, allocations: 2.465 MB / 0.6742 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.4251, allocations: 1.374 MB / 0.6755 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005759/0.4309, allocations: 4.385 MB / 0.6798 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002352/0.4333, allocations: 1.437 MB / 0.6812 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.437, allocations: 1.604 MB / 0.6827 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.4391, allocations: 1.194 MB / 0.6839 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00048/0.4396, allocations: 168 kB / 0.6841 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.4432, allocations: 1.419 MB / 0.6855 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006175/0.4438, allocations: 398.6 kB / 0.6858 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.4455, allocations: 0.9021 MB / 0.6867 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.4505, allocations: 2.863 MB / 0.6895 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4505, allocations: 0 / 0.6895 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4505, allocations: 4 kB / 0.6895 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.868e-05/0.4505, allocations: 0 / 0.6895 GB, free: 15.29 MB / 0.5294 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.003997/0.4545, allocations: 2.083 MB / 0.6916 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4546, allocations: 13.11 kB / 0.6916 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008092/0.4554, allocations: 230.8 kB / 0.6918 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.4578, allocations: 1.45 MB / 0.6932 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.4579, allocations: 74 kB / 0.6933 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.4581, allocations: 107.9 kB / 0.6934 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.4601, allocations: 1.096 MB / 0.6944 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.4601, allocations: 4 kB / 0.6945 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.4602, allocations: 40 kB / 0.6945 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.4603, allocations: 24 kB / 0.6945 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.4622, allocations: 0.89 MB / 0.6954 GB, free: 9.137 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.006332/0.4685, allocations: 4.962 MB / 0.7002 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.4699, allocations: 0.6298 MB / 0.7008 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/0.4707, allocations: 354.3 kB / 0.7012 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007197/0.4714, allocations: 0.8277 MB / 0.702 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.4714, allocations: 43.12 kB / 0.702 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/0.4715, allocations: 0 / 0.702 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007339/0.4788, allocations: 1.693 MB / 0.7037 GB, free: 120 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.4789, allocations: 59.97 kB / 0.7037 GB, free: 48 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.4808, allocations: 1.221 MB / 0.7049 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.481, allocations: 49.69 kB / 0.705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/0.4816, allocations: 0.5949 MB / 0.7056 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.4818, allocations: 216.8 kB / 0.7058 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.4821, allocations: 162.4 kB / 0.7059 GB, free: 13.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4822, allocations: 334 kB / 0.7062 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.4829, allocations: 288.7 kB / 0.7065 GB, free: 13.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.4838, allocations: 485.5 kB / 0.707 GB, free: 12.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.4853, allocations: 0.7159 MB / 0.7077 GB, free: 11.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.4853, allocations: 3.938 kB / 0.7077 GB, free: 11.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004819/0.4901, allocations: 1.269 MB / 0.7089 GB, free: 10.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4902, allocations: 7.984 kB / 0.7089 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4902, allocations: 7.984 kB / 0.7089 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.4909, allocations: 156.7 kB / 0.7091 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.4915, allocations: 155.8 kB / 0.7092 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009369/0.4924, allocations: 0.7201 MB / 0.7099 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.4935, allocations: 123.1 kB / 0.7101 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.4936, allocations: 31.98 kB / 0.7101 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00113/0.4947, allocations: 0.5526 MB / 0.7106 GB, free: 8.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008454/0.4956, allocations: 497.6 kB / 0.7111 GB, free: 8.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001442/0.497, allocations: 0.6965 MB / 0.7118 GB, free: 7.488 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.564e-06/0.4971, allocations: 0 / 0.7118 GB, free: 7.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004702/0.5018, allocations: 1.273 MB / 0.713 GB, free: 6.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5018, allocations: 8 kB / 0.713 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.5018, allocations: 4 kB / 0.713 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.5024, allocations: 156.7 kB / 0.7132 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.503, allocations: 155.7 kB / 0.7133 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008621/0.5039, allocations: 0.7227 MB / 0.714 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.5049, allocations: 99.56 kB / 0.7141 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.505, allocations: 28 kB / 0.7142 GB, free: 5.012 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.000266/0.5053, allocations: 232.8 kB / 0.7144 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.5055, allocations: 138.3 kB / 0.7145 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004713/0.5103, allocations: 1.275 MB / 0.7158 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.5103, allocations: 16 kB / 0.7158 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5103, allocations: 0 / 0.7158 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004188/0.5145, allocations: 1.115 MB / 0.7169 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006697/0.5212, allocations: 2.626 MB / 0.7194 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.5213, allocations: 8.062 kB / 0.7194 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.5217, allocations: 115.8 kB / 0.7195 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006065/0.5223, allocations: 152.6 kB / 0.7197 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.5224, allocations: 19.98 kB / 0.7197 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008548/0.5233, allocations: 0.7154 MB / 0.7204 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5233, allocations: 4 kB / 0.7204 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.5286, allocations: 1.711 MB / 0.7221 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/0.5292, allocations: 307.2 kB / 0.7224 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.5294, allocations: 16.06 kB / 0.7224 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007554/0.5302, allocations: 55.92 kB / 0.7224 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.5303, allocations: 60.25 kB / 0.7225 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.5304, allocations: 31.98 kB / 0.7225 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001252/0.5316, allocations: 0.8816 MB / 0.7234 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5317, allocations: 0 / 0.7234 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001737/0.5334, allocations: 0.7135 MB / 0.7241 GB, free: 10.54 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.0008887/0.5343, allocations: 464.3 kB / 0.7245 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002785/0.5371, allocations: 1.168 MB / 0.7257 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5371, allocations: 4 kB / 0.7257 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008864/0.538, allocations: 391.3 kB / 0.7261 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/0.5414, allocations: 0.8015 MB / 0.7268 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.5453, allocations: 2.327 MB / 0.7291 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.5461, allocations: 1.172 MB / 0.7303 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.5464, allocations: 107.4 kB / 0.7304 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.5464, allocations: 0 / 0.7304 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.2624/0.8087, allocations: 31.1 MB / 0.7607 GB, free: 152.1 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)