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.0007345/0.0007345, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000801/0.0008011, allocations: 172.7 kB / 15.95 MB, free: 208 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.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7307/0.7307, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002844, allocations: 9.531 kB / 0.5034 GB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3435, allocations: 81.59 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06277/0.4063, allocations: 69.39 MB / 0.6508 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.4216, allocations: 11.93 MB / 0.6625 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.4233, allocations: 55.62 kB / 0.6625 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.4248, allocations: 0.5705 MB / 0.6631 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.4293, allocations: 1.899 MB / 0.665 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.4318, allocations: 0.9566 MB / 0.6659 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005281/0.4371, allocations: 4.781 MB / 0.6706 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.4389, allocations: 1.033 MB / 0.6716 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.4416, allocations: 1.26 MB / 0.6728 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.4434, allocations: 1.069 MB / 0.6738 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.4437, allocations: 52 kB / 0.6739 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.4462, allocations: 0.9393 MB / 0.6748 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.4466, allocations: 278.7 kB / 0.6751 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005067/0.4471, allocations: 356.9 kB / 0.6754 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.4494, allocations: 2.085 MB / 0.6774 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4494, allocations: 4 kB / 0.6775 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4494, allocations: 0 / 0.6775 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.526e-05/0.4495, allocations: 0 / 0.6775 GB, free: 15.73 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.003277/0.4527, allocations: 1.799 MB / 0.6792 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.4528, allocations: 12.03 kB / 0.6792 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007826/0.4536, allocations: 237.9 kB / 0.6794 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.4559, allocations: 1.451 MB / 0.6809 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.456, allocations: 74 kB / 0.6809 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.4562, allocations: 104 kB / 0.681 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.4581, allocations: 1.116 MB / 0.6821 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4581, allocations: 4 kB / 0.6821 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.4582, allocations: 40 kB / 0.6822 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.4583, allocations: 24 kB / 0.6822 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.4601, allocations: 0.9212 MB / 0.6831 GB, free: 9.801 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.005414/0.4655, allocations: 4.923 MB / 0.6879 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.4668, allocations: 0.6435 MB / 0.6885 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.4674, allocations: 371 kB / 0.6889 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005474/0.468, allocations: 0.8316 MB / 0.6897 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.468, allocations: 39.12 kB / 0.6897 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.4681, allocations: 0 / 0.6897 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.006415/0.4745, allocations: 1.889 MB / 0.6916 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.4745, allocations: 55.97 kB / 0.6916 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.4759, allocations: 1.198 MB / 0.6928 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.4759, allocations: 41.7 kB / 0.6928 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/0.4764, allocations: 0.6103 MB / 0.6934 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.4766, allocations: 212.9 kB / 0.6936 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.4766, allocations: 23.94 kB / 0.6937 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.4767, allocations: 334 kB / 0.694 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/0.4774, allocations: 293.8 kB / 0.6943 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/0.4781, allocations: 0.4951 MB / 0.6947 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006775/0.4788, allocations: 355 kB / 0.6951 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.4788, allocations: 3.953 kB / 0.6951 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004192/0.483, allocations: 1.402 MB / 0.6965 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.4831, allocations: 195.8 kB / 0.6966 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4831, allocations: 0 / 0.6966 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.4838, allocations: 168.7 kB / 0.6968 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.4844, allocations: 159.8 kB / 0.697 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007816/0.4852, allocations: 0.7391 MB / 0.6977 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00093/0.4861, allocations: 163.1 kB / 0.6978 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.4862, allocations: 35.98 kB / 0.6979 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-06/0.4862, allocations: 4 kB / 0.6979 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003967/0.4902, allocations: 1.253 MB / 0.6991 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4902, allocations: 4 kB / 0.6991 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.4907, allocations: 173 kB / 0.6993 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.4913, allocations: 159.8 kB / 0.6994 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007208/0.492, allocations: 0.728 MB / 0.7001 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/0.4929, allocations: 163.1 kB / 0.7003 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.493, allocations: 35.92 kB / 0.7003 GB, free: 7.422 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 (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.0004786/0.4935, allocations: 417 kB / 0.7007 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.4936, allocations: 130.4 kB / 0.7008 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/0.498, allocations: 1.412 MB / 0.7022 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.498, allocations: 11.94 kB / 0.7022 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.498, allocations: 7.938 kB / 0.7022 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003834/0.5018, allocations: 1.244 MB / 0.7034 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/0.5076, allocations: 2.739 MB / 0.7061 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.5076, allocations: 8 kB / 0.7061 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.5081, allocations: 124.2 kB / 0.7062 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005445/0.5086, allocations: 156.7 kB / 0.7064 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.5087, allocations: 23.98 kB / 0.7064 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007262/0.5094, allocations: 0.7296 MB / 0.7071 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5095, allocations: 4 kB / 0.7071 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00475/0.5142, allocations: 1.852 MB / 0.7089 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/0.5148, allocations: 335 kB / 0.7093 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.5149, allocations: 19.98 kB / 0.7093 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.5158, allocations: 87.97 kB / 0.7094 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5159, allocations: 60.27 kB / 0.7094 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.5159, allocations: 27.98 kB / 0.7094 GB, free: 13.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001148/0.5171, allocations: 0.8621 MB / 0.7103 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5171, allocations: 0 / 0.7103 GB, free: 12.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001609/0.5187, allocations: 0.6979 MB / 0.711 GB, free: 12.21 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 (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.0007054/0.5194, allocations: 418.8 kB / 0.7114 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002385/0.5218, allocations: 1.176 MB / 0.7125 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5218, allocations: 0 / 0.7125 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008392/0.5227, allocations: 399.3 kB / 0.7129 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/0.5258, allocations: 0.7687 MB / 0.7137 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.5294, allocations: 2.765 MB / 0.7164 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.5301, allocations: 1.172 MB / 0.7175 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001081/0.5312, allocations: 302.8 kB / 0.7178 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.5314, allocations: 107.3 kB / 0.7179 GB, free: 5.043 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.5314, allocations: 0 / 0.7179 GB, free: 5.043 MB / 0.545 GB Notification: Performance of Templates: time 0.0437/0.5751, allocations: 29.2 MB / 0.7464 GB, free: 8.234 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)