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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001591/0.001592, allocations: 194.4 kB / 16.14 MB, free: 6.691 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.057/1.057, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 64.59 kB / 0.5047 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2287, allocations: 80.93 MB / 0.5837 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.4551/0.6838, allocations: 74.68 MB / 0.6566 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.7042, allocations: 12.79 MB / 0.6691 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004572/0.7088, allocations: 63.72 kB / 0.6692 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004125/0.713, allocations: 0.6742 MB / 0.6698 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.7241, allocations: 2.262 MB / 0.672 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00518/0.7293, allocations: 1.274 MB / 0.6733 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.7402, allocations: 5.54 MB / 0.6787 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.7438, allocations: 1.183 MB / 0.6799 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005359/0.7492, allocations: 1.363 MB / 0.6812 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004375/0.7536, allocations: 1.184 MB / 0.6823 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007663/0.7544, allocations: 72.25 kB / 0.6824 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00544/0.7598, allocations: 1.272 MB / 0.6837 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009974/0.7609, allocations: 315.9 kB / 0.684 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003146/0.764, allocations: 0.807 MB / 0.6847 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008378/0.7724, allocations: 2.796 MB / 0.6875 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.7725, allocations: 1.438 kB / 0.6875 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7725, allocations: 0 / 0.6875 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001314/0.7726, allocations: 0 / 0.6875 GB, free: 5.902 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.008517/0.7811, allocations: 2.091 MB / 0.6895 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7812, allocations: 8.531 kB / 0.6895 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.783, allocations: 227.9 kB / 0.6897 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.7882, allocations: 1.493 MB / 0.6912 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.7884, allocations: 76.19 kB / 0.6913 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004348/0.7888, allocations: 109.5 kB / 0.6914 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004289/0.7931, allocations: 1.106 MB / 0.6925 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/0.7932, allocations: 1.156 kB / 0.6925 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.7934, allocations: 38.69 kB / 0.6925 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-05/0.7934, allocations: 25.03 kB / 0.6925 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002673/0.7961, allocations: 0.8891 MB / 0.6934 GB, free: 2.609 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.0116/0.8077, allocations: 4.911 MB / 0.6982 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.8097, allocations: 0.6281 MB / 0.6988 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009631/0.8107, allocations: 359.8 kB / 0.6991 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009191/0.8116, allocations: 0.83 MB / 0.7 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.8117, allocations: 43.83 kB / 0.7 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.825e-06/0.8117, allocations: 0 / 0.7 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.008406/0.8201, allocations: 1.694 MB / 0.7016 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.8203, allocations: 58.28 kB / 0.7017 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/0.8237, allocations: 1.202 MB / 0.7029 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.824, allocations: 44.11 kB / 0.7029 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007772/0.8248, allocations: 0.6042 MB / 0.7035 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003908/0.8252, allocations: 218.4 kB / 0.7037 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/0.8256, allocations: 158.2 kB / 0.7039 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8258, allocations: 334.5 kB / 0.7042 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000806/0.8266, allocations: 291.7 kB / 0.7045 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.8276, allocations: 492.5 kB / 0.7049 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.8296, allocations: 0.7088 MB / 0.7056 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.8296, allocations: 1.312 kB / 0.7056 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005751/0.8354, allocations: 1.278 MB / 0.7069 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.8354, allocations: 7.688 kB / 0.7069 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.8354, allocations: 2.75 kB / 0.7069 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008714/0.8363, allocations: 162.1 kB / 0.707 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.837, allocations: 155.7 kB / 0.7072 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.8381, allocations: 0.7124 MB / 0.7079 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.8401, allocations: 157.9 kB / 0.708 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.8403, allocations: 31.17 kB / 0.7081 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001665/0.8419, allocations: 0.555 MB / 0.7086 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001046/0.843, allocations: 490.2 kB / 0.7091 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001533/0.8445, allocations: 0.7 MB / 0.7098 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.8446, allocations: 0 / 0.7098 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005354/0.8499, allocations: 1.277 MB / 0.711 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.85, allocations: 6.875 kB / 0.711 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.85, allocations: 4.125 kB / 0.711 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007314/0.8507, allocations: 161 kB / 0.7112 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.8514, allocations: 155.7 kB / 0.7113 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000936/0.8524, allocations: 0.7176 MB / 0.712 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.8543, allocations: 130.8 kB / 0.7121 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.8544, allocations: 31.25 kB / 0.7122 GB, free: 6.754 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.0004126/0.8548, allocations: 233.1 kB / 0.7124 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006956/0.8555, allocations: 140.2 kB / 0.7125 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005232/0.8608, allocations: 1.275 MB / 0.7138 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.8608, allocations: 13.78 kB / 0.7138 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.8608, allocations: 2.562 kB / 0.7138 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00404/0.8649, allocations: 1.109 MB / 0.7149 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008397/0.8733, allocations: 2.608 MB / 0.7174 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.8733, allocations: 3.438 kB / 0.7174 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.8739, allocations: 117.2 kB / 0.7175 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006804/0.8746, allocations: 158 kB / 0.7177 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.348e-05/0.8747, allocations: 20.67 kB / 0.7177 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009163/0.8756, allocations: 0.706 MB / 0.7184 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.8757, allocations: 7.984 kB / 0.7184 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/0.8814, allocations: 1.695 MB / 0.7201 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.8826, allocations: 315.1 kB / 0.7204 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006488/0.8832, allocations: 12 kB / 0.7204 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.8847, allocations: 92.59 kB / 0.7205 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.8849, allocations: 60.19 kB / 0.7205 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.885, allocations: 35.97 kB / 0.7206 GB, free: 236 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002224/0.8873, allocations: 0.866 MB / 0.7214 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8873, allocations: 0 / 0.7214 GB, free: 15.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004159/0.8914, allocations: 0.7057 MB / 0.7221 GB, free: 14.66 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.001601/0.8931, allocations: 455.8 kB / 0.7225 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003403/0.8965, allocations: 1.119 MB / 0.7236 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.851e-05/0.8965, allocations: 4 kB / 0.7236 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.8977, allocations: 389 kB / 0.724 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005393/0.9032, allocations: 0.7592 MB / 0.7247 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.9106, allocations: 2.743 MB / 0.7274 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.912, allocations: 1.176 MB / 0.7286 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002107/0.9141, allocations: 302.7 kB / 0.7288 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.9146, allocations: 107.3 kB / 0.7289 GB, free: 7.562 MB / 0.545 GB Notification: Performance of SimCode: time 1.653e-06/0.9147, allocations: 0 / 0.7289 GB, free: 7.562 MB / 0.545 GB Notification: Performance of Templates: time 0.06191/0.9766, allocations: 30.28 MB / 0.7585 GB, free: 9.656 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)