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.00121/0.00121, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01009/0.01009, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8209/0.8209, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004688, allocations: 12 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.49, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07933/0.5694, allocations: 73.42 MB / 0.6554 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02115/0.5906, allocations: 12.66 MB / 0.6677 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.5938, allocations: 55.62 kB / 0.6678 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.5969, allocations: 0.672 MB / 0.6684 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008835/0.6058, allocations: 2.266 MB / 0.6706 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.6102, allocations: 1.273 MB / 0.6719 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007972/0.6181, allocations: 5.537 MB / 0.6773 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.6207, allocations: 1.151 MB / 0.6784 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.6244, allocations: 1.318 MB / 0.6797 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.6269, allocations: 1.135 MB / 0.6808 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003124/0.6272, allocations: 56 kB / 0.6809 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.6308, allocations: 1.263 MB / 0.6821 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004565/0.6312, allocations: 282.6 kB / 0.6824 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.6326, allocations: 0.7983 MB / 0.6832 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003965/0.6366, allocations: 2.734 MB / 0.6858 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6366, allocations: 0 / 0.6858 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6366, allocations: 0 / 0.6858 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.6366, allocations: 0 / 0.6858 GB, free: 7.551 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.003525/0.6401, allocations: 1.791 MB / 0.6876 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.6402, allocations: 8.031 kB / 0.6876 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007923/0.641, allocations: 238.8 kB / 0.6878 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.6435, allocations: 1.493 MB / 0.6893 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.6436, allocations: 78 kB / 0.6893 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.6438, allocations: 100 kB / 0.6894 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.646, allocations: 1.124 MB / 0.6905 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.646, allocations: 0 / 0.6905 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.6461, allocations: 44 kB / 0.6906 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.661e-05/0.6462, allocations: 24 kB / 0.6906 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.6482, allocations: 0.929 MB / 0.6915 GB, free: 1.574 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.006077/0.6542, allocations: 4.919 MB / 0.6963 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.6557, allocations: 0.6512 MB / 0.6969 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.6565, allocations: 375.1 kB / 0.6973 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.6572, allocations: 0.8354 MB / 0.6981 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.6572, allocations: 43.12 kB / 0.6982 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 3.707e-06/0.6572, allocations: 0 / 0.6982 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.00797/0.6652, allocations: 1.896 MB / 0.7 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.6653, allocations: 59.97 kB / 0.7001 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.6673, allocations: 1.202 MB / 0.7012 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.6675, allocations: 49.69 kB / 0.7013 GB, free: 7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/0.6681, allocations: 0.6026 MB / 0.7019 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.6683, allocations: 212.9 kB / 0.7021 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.6684, allocations: 65.67 kB / 0.7021 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6685, allocations: 334 kB / 0.7025 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007165/0.6692, allocations: 305.8 kB / 0.7028 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/0.6702, allocations: 0.4991 MB / 0.7032 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.6718, allocations: 0.7433 MB / 0.704 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.6718, allocations: 3.938 kB / 0.704 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005256/0.677, allocations: 1.417 MB / 0.7054 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.6772, allocations: 193.4 kB / 0.7055 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6772, allocations: 0 / 0.7055 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007549/0.678, allocations: 164.7 kB / 0.7057 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.6787, allocations: 167.8 kB / 0.7059 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009864/0.6797, allocations: 0.7318 MB / 0.7066 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.6811, allocations: 163.1 kB / 0.7067 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.6812, allocations: 31.98 kB / 0.7068 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.6812, allocations: 4 kB / 0.7068 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004905/0.6861, allocations: 1.261 MB / 0.708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6862, allocations: 4 kB / 0.708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/0.6868, allocations: 177 kB / 0.7082 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.6875, allocations: 159.8 kB / 0.7083 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000923/0.6884, allocations: 0.7424 MB / 0.709 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6898, allocations: 151.2 kB / 0.7092 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.6899, allocations: 35.98 kB / 0.7092 GB, free: 14.62 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.0007872/0.6907, allocations: 424.9 kB / 0.7096 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/0.6911, allocations: 134.3 kB / 0.7098 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/0.6964, allocations: 1.415 MB / 0.7111 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.6965, allocations: 4 kB / 0.7111 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.6965, allocations: 11.98 kB / 0.7112 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004583/0.7011, allocations: 1.244 MB / 0.7124 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008566/0.7097, allocations: 2.746 MB / 0.715 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.7097, allocations: 4 kB / 0.7151 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.7103, allocations: 124.2 kB / 0.7152 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006942/0.711, allocations: 160.7 kB / 0.7153 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-05/0.7111, allocations: 23.98 kB / 0.7153 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009624/0.7121, allocations: 0.7317 MB / 0.7161 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.7121, allocations: 4 kB / 0.7161 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005955/0.718, allocations: 1.852 MB / 0.7179 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.7191, allocations: 335.1 kB / 0.7182 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004789/0.7196, allocations: 23.98 kB / 0.7182 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.7208, allocations: 87.81 kB / 0.7183 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.721, allocations: 60.25 kB / 0.7184 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.7211, allocations: 27.98 kB / 0.7184 GB, free: 4.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001671/0.7228, allocations: 0.8738 MB / 0.7192 GB, free: 4.074 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.7228, allocations: 3.938 kB / 0.7192 GB, free: 4.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002381/0.7252, allocations: 0.7018 MB / 0.7199 GB, free: 3.367 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.001044/0.7262, allocations: 446.5 kB / 0.7204 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002982/0.7292, allocations: 1.18 MB / 0.7215 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7292, allocations: 0 / 0.7215 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.7303, allocations: 407.3 kB / 0.7219 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00538/0.7357, allocations: 0.7916 MB / 0.7227 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/0.741, allocations: 2.813 MB / 0.7254 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009697/0.742, allocations: 1.169 MB / 0.7266 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001513/0.7435, allocations: 306 kB / 0.7268 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.7439, allocations: 115.4 kB / 0.727 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/0.7439, allocations: 0 / 0.727 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of Templates: time 0.05358/0.7975, allocations: 31.7 MB / 0.7579 GB, free: 12.79 MB / 0.5919 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)