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.001211/0.001211, allocations: 103.1 kB / 16.27 MB, free: 5.996 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.001264/0.001264, allocations: 188 kB / 17.19 MB, free: 5.633 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8103/0.8103, allocations: 135.1 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3511, allocations: 80.91 MB / 0.585 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06304/0.4142, allocations: 75.14 MB / 0.6584 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.4324, allocations: 12.74 MB / 0.6708 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.4352, allocations: 67.62 kB / 0.6709 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.4378, allocations: 0.8306 MB / 0.6717 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006881/0.4448, allocations: 2.456 MB / 0.6741 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.4484, allocations: 1.379 MB / 0.6754 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005332/0.4537, allocations: 4.376 MB / 0.6797 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.456, allocations: 1.437 MB / 0.6811 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.4596, allocations: 1.615 MB / 0.6827 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.4617, allocations: 1.198 MB / 0.6839 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004756/0.4622, allocations: 164 kB / 0.684 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.4656, allocations: 1.415 MB / 0.6854 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005875/0.4662, allocations: 398.6 kB / 0.6858 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.4677, allocations: 0.9099 MB / 0.6867 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/0.4723, allocations: 2.851 MB / 0.6895 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4723, allocations: 0 / 0.6895 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4724, allocations: 4 kB / 0.6895 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.842e-05/0.4724, allocations: 0 / 0.6895 GB, free: 15.35 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.004559/0.477, allocations: 2.087 MB / 0.6915 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4771, allocations: 9.109 kB / 0.6915 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4781, allocations: 230.8 kB / 0.6917 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.4807, allocations: 1.458 MB / 0.6932 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.4808, allocations: 74 kB / 0.6932 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.481, allocations: 107.8 kB / 0.6933 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.4832, allocations: 1.108 MB / 0.6944 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.4833, allocations: 3.984 kB / 0.6944 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-05/0.4834, allocations: 44 kB / 0.6945 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.4834, allocations: 24 kB / 0.6945 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.4854, allocations: 0.89 MB / 0.6954 GB, free: 9.168 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.006459/0.4919, allocations: 4.946 MB / 0.7002 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.4933, allocations: 0.6285 MB / 0.7008 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007236/0.494, allocations: 346.3 kB / 0.7011 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006631/0.4947, allocations: 0.8316 MB / 0.7019 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4948, allocations: 39.12 kB / 0.702 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.805e-06/0.4948, allocations: 4 kB / 0.702 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007544/0.5023, allocations: 1.693 MB / 0.7036 GB, free: 172 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.5024, allocations: 59.97 kB / 0.7037 GB, free: 100 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.5045, allocations: 1.229 MB / 0.7049 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.5047, allocations: 37.7 kB / 0.7049 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.5052, allocations: 0.5988 MB / 0.7055 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.5054, allocations: 216.8 kB / 0.7057 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5057, allocations: 162.5 kB / 0.7059 GB, free: 13.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5058, allocations: 330 kB / 0.7062 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.5065, allocations: 300.7 kB / 0.7065 GB, free: 13.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/0.5073, allocations: 487 kB / 0.7069 GB, free: 12.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.5087, allocations: 0.7121 MB / 0.7076 GB, free: 11.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.5087, allocations: 3.938 kB / 0.7076 GB, free: 11.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00493/0.5137, allocations: 1.265 MB / 0.7089 GB, free: 10.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5137, allocations: 12 kB / 0.7089 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.5137, allocations: 4 kB / 0.7089 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007163/0.5145, allocations: 160.6 kB / 0.709 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.5151, allocations: 151.8 kB / 0.7092 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008656/0.516, allocations: 0.7201 MB / 0.7099 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.5172, allocations: 123 kB / 0.71 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.5173, allocations: 35.98 kB / 0.71 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00111/0.5185, allocations: 0.5535 MB / 0.7106 GB, free: 8.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008451/0.5193, allocations: 487 kB / 0.711 GB, free: 8.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001423/0.5207, allocations: 0.7081 MB / 0.7117 GB, free: 7.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.766e-06/0.5208, allocations: 0 / 0.7117 GB, free: 7.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005044/0.5258, allocations: 1.269 MB / 0.713 GB, free: 6.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5259, allocations: 7.031 kB / 0.713 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5259, allocations: 8 kB / 0.713 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/0.5265, allocations: 156.6 kB / 0.7131 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.5272, allocations: 155.8 kB / 0.7133 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008409/0.528, allocations: 0.7161 MB / 0.714 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.5292, allocations: 109.6 kB / 0.7141 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.5293, allocations: 28 kB / 0.7141 GB, free: 5.051 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.0002356/0.5296, allocations: 224.1 kB / 0.7143 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.5298, allocations: 142.3 kB / 0.7145 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004951/0.5348, allocations: 1.284 MB / 0.7157 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.5348, allocations: 8 kB / 0.7157 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5348, allocations: 0 / 0.7157 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004324/0.5392, allocations: 1.111 MB / 0.7168 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006604/0.5458, allocations: 2.622 MB / 0.7194 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.5458, allocations: 4 kB / 0.7194 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.5463, allocations: 115.9 kB / 0.7195 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006022/0.5469, allocations: 157.7 kB / 0.7196 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.547, allocations: 23.98 kB / 0.7197 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008108/0.5478, allocations: 0.7084 MB / 0.7204 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.5478, allocations: 7.938 kB / 0.7204 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/0.5532, allocations: 1.707 MB / 0.722 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006816/0.5539, allocations: 311.2 kB / 0.7223 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.5542, allocations: 16.05 kB / 0.7223 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/0.555, allocations: 55.94 kB / 0.7224 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5551, allocations: 48.31 kB / 0.7224 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.5552, allocations: 39.98 kB / 0.7225 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001187/0.5564, allocations: 0.8855 MB / 0.7233 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5564, allocations: 0 / 0.7233 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001725/0.5581, allocations: 0.7135 MB / 0.724 GB, free: 10.59 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.0008818/0.559, allocations: 457.7 kB / 0.7245 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002816/0.5618, allocations: 1.172 MB / 0.7256 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5619, allocations: 0 / 0.7256 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008878/0.5628, allocations: 387.3 kB / 0.726 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/0.5664, allocations: 0.8006 MB / 0.7268 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.5701, allocations: 2.338 MB / 0.7291 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/0.5708, allocations: 1.168 MB / 0.7302 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.5711, allocations: 115.4 kB / 0.7303 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/0.5711, allocations: 0 / 0.7303 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of Templates: time 0.2985/0.8696, allocations: 31.09 MB / 0.7607 GB, free: 152.4 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)