Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.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.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.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.6406 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.001664/0.001664, allocations: 195.4 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9609/0.9609, allocations: 135.1 MB / 425.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 63.66 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2204, allocations: 80.92 MB / 0.5837 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3428/0.5632, allocations: 74.73 MB / 0.6567 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.5816, allocations: 15.2 MB / 0.6715 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.5847, allocations: 60.78 kB / 0.6716 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.5872, allocations: 0.6732 MB / 0.6722 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00786/0.5951, allocations: 2.382 MB / 0.6746 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.599, allocations: 1.266 MB / 0.6758 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009097/0.6081, allocations: 5.556 MB / 0.6812 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.6109, allocations: 1.199 MB / 0.6824 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003917/0.6149, allocations: 1.372 MB / 0.6837 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.6177, allocations: 1.2 MB / 0.6849 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003786/0.6181, allocations: 72.88 kB / 0.685 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004239/0.6223, allocations: 1.276 MB / 0.6862 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005195/0.6229, allocations: 316 kB / 0.6865 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.6244, allocations: 0.817 MB / 0.6873 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005359/0.6297, allocations: 2.795 MB / 0.6901 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6298, allocations: 1.281 kB / 0.6901 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.295e-06/0.6298, allocations: 0.7969 kB / 0.6901 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.86e-05/0.6299, allocations: 0 / 0.6901 GB, free: 4.062 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.005113/0.635, allocations: 2.096 MB / 0.6921 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.635, allocations: 9.125 kB / 0.6921 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009411/0.636, allocations: 232.3 kB / 0.6923 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/0.6389, allocations: 1.503 MB / 0.6938 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.639, allocations: 80.98 kB / 0.6939 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.6392, allocations: 104.4 kB / 0.694 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.6415, allocations: 1.1 MB / 0.6951 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.6415, allocations: 1.469 kB / 0.6951 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.6416, allocations: 36.62 kB / 0.6951 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.6416, allocations: 25.02 kB / 0.6951 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.6438, allocations: 0.8974 MB / 0.696 GB, free: 0.7656 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.006998/0.6508, allocations: 4.917 MB / 0.7008 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.6522, allocations: 0.6108 MB / 0.7014 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007066/0.6529, allocations: 359.5 kB / 0.7017 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007962/0.6537, allocations: 0.8251 MB / 0.7025 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.6538, allocations: 41.52 kB / 0.7026 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.435e-06/0.6538, allocations: 0 / 0.7026 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.004925/0.6587, allocations: 1.407 MB / 0.704 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.6588, allocations: 58.56 kB / 0.704 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.6605, allocations: 1.215 MB / 0.7052 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-05/0.6606, allocations: 40.8 kB / 0.7052 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.6611, allocations: 0.602 MB / 0.7058 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.6614, allocations: 221.6 kB / 0.706 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.6616, allocations: 151.6 kB / 0.7062 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6617, allocations: 337.8 kB / 0.7065 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.6624, allocations: 289.8 kB / 0.7068 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008752/0.6633, allocations: 496.4 kB / 0.7072 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.6648, allocations: 0.7137 MB / 0.7079 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6648, allocations: 1.438 kB / 0.7079 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004731/0.6696, allocations: 1.26 MB / 0.7092 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6696, allocations: 6.312 kB / 0.7092 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6696, allocations: 7.219 kB / 0.7092 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/0.6703, allocations: 164.4 kB / 0.7093 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.671, allocations: 156.3 kB / 0.7095 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008628/0.6719, allocations: 0.7122 MB / 0.7102 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.6733, allocations: 159.2 kB / 0.7103 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.6734, allocations: 38.8 kB / 0.7104 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001099/0.6745, allocations: 0.5514 MB / 0.7109 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008003/0.6753, allocations: 494 kB / 0.7114 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001423/0.6767, allocations: 0.698 MB / 0.7121 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/0.6767, allocations: 4.672 kB / 0.7121 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004532/0.6813, allocations: 1.263 MB / 0.7133 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6813, allocations: 6.438 kB / 0.7133 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6813, allocations: 4.438 kB / 0.7133 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.6819, allocations: 159.3 kB / 0.7135 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.6825, allocations: 152.7 kB / 0.7136 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008417/0.6834, allocations: 0.7204 MB / 0.7143 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.6848, allocations: 141.2 kB / 0.7145 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.6849, allocations: 34.92 kB / 0.7145 GB, free: 4.777 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.0002718/0.6852, allocations: 223 kB / 0.7147 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.6854, allocations: 134.6 kB / 0.7148 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/0.6898, allocations: 1.254 MB / 0.7161 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.6899, allocations: 11.39 kB / 0.7161 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.6899, allocations: 0 / 0.7161 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003919/0.6938, allocations: 1.093 MB / 0.7171 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.6981, allocations: 2.3 MB / 0.7194 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6982, allocations: 6.031 kB / 0.7194 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.6987, allocations: 115.3 kB / 0.7195 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.6993, allocations: 156.7 kB / 0.7196 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.6993, allocations: 19.98 kB / 0.7197 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008515/0.7002, allocations: 0.7006 MB / 0.7203 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7002, allocations: 7.938 kB / 0.7204 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.703, allocations: 1.403 MB / 0.7217 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/0.7037, allocations: 307.1 kB / 0.722 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.7039, allocations: 20 kB / 0.722 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/0.7048, allocations: 79.88 kB / 0.7221 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.705, allocations: 56.31 kB / 0.7222 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.949e-05/0.7051, allocations: 31.97 kB / 0.7222 GB, free: 14.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001263/0.7063, allocations: 0.8701 MB / 0.723 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7063, allocations: 0 / 0.723 GB, free: 13.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002104/0.7084, allocations: 0.7057 MB / 0.7237 GB, free: 12.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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.001048/0.7095, allocations: 450.5 kB / 0.7242 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002777/0.7123, allocations: 1.11 MB / 0.7252 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.7123, allocations: 4 kB / 0.7253 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000971/0.7133, allocations: 397.3 kB / 0.7256 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003962/0.7173, allocations: 0.7691 MB / 0.7264 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.7221, allocations: 2.763 MB / 0.7291 GB, free: 7.449 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009064/0.723, allocations: 1.172 MB / 0.7302 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001459/0.7245, allocations: 314.8 kB / 0.7305 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.7249, allocations: 103.4 kB / 0.7306 GB, free: 5.84 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.7249, allocations: 0 / 0.7306 GB, free: 5.84 MB / 0.545 GB Notification: Performance of Templates: time 0.05518/0.78, allocations: 30.34 MB / 0.7603 GB, free: 7.84 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)