Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.424/1.424, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.033/1.033, allocations: 135.1 MB / 425.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.14 kB / 0.5053 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2031, allocations: 80.92 MB / 0.5843 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.4414/0.6445, allocations: 60.82 MB / 0.6437 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01566/0.6602, allocations: 12.05 MB / 0.6555 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.6635, allocations: 54.84 kB / 0.6556 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.6657, allocations: 0.5514 MB / 0.6561 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006188/0.6719, allocations: 1.803 MB / 0.6579 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.6753, allocations: 1.068 MB / 0.6589 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005957/0.6813, allocations: 3.907 MB / 0.6627 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.6833, allocations: 0.9219 MB / 0.6636 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.6867, allocations: 1.153 MB / 0.6647 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.6889, allocations: 0.9015 MB / 0.6656 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.6892, allocations: 56.94 kB / 0.6657 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.6931, allocations: 1.354 MB / 0.667 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004574/0.6936, allocations: 229.4 kB / 0.6672 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.6949, allocations: 0.6379 MB / 0.6678 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003458/0.6983, allocations: 1.732 MB / 0.6695 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.6983, allocations: 1.219 kB / 0.6695 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6983, allocations: 3.938 kB / 0.6695 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.6984, allocations: 4 kB / 0.6695 GB, free: 2.688 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004034/0.7024, allocations: 1.731 MB / 0.6712 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.7025, allocations: 9.312 kB / 0.6712 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.7049, allocations: 405 kB / 0.6716 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.7075, allocations: 1.124 MB / 0.6727 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.7079, allocations: 122.9 kB / 0.6728 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.708, allocations: 83.7 kB / 0.6729 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.7104, allocations: 0.9862 MB / 0.6739 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.7104, allocations: 1.062 kB / 0.6739 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/0.7105, allocations: 34.78 kB / 0.6739 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.7105, allocations: 23.41 kB / 0.6739 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.7132, allocations: 0.8689 MB / 0.6748 GB, free: 15.86 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.008585/0.7218, allocations: 4.841 MB / 0.6795 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.7253, allocations: 0.7963 MB / 0.6803 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008171/0.7262, allocations: 301.8 kB / 0.6806 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007926/0.727, allocations: 0.9047 MB / 0.6815 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.727, allocations: 45.77 kB / 0.6815 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 8.256e-06/0.727, allocations: 4 kB / 0.6815 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009218/0.7363, allocations: 1.924 MB / 0.6834 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.7363, allocations: 55.78 kB / 0.6834 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.7386, allocations: 1.048 MB / 0.6845 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.7387, allocations: 37.73 kB / 0.6845 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.7393, allocations: 0.5229 MB / 0.685 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.7395, allocations: 153.4 kB / 0.6852 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.7397, allocations: 136.2 kB / 0.6853 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7399, allocations: 324.5 kB / 0.6856 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009577/0.7408, allocations: 306.9 kB / 0.6859 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.7421, allocations: 0.5006 MB / 0.6864 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.7439, allocations: 0.6882 MB / 0.6871 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.7439, allocations: 1.281 kB / 0.6871 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003204/0.7471, allocations: 0.9812 MB / 0.688 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.7471, allocations: 6.938 kB / 0.688 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.7472, allocations: 8.703 kB / 0.688 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.7488, allocations: 312 kB / 0.6883 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.7494, allocations: 115.7 kB / 0.6884 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.7512, allocations: 0.9181 MB / 0.6893 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.753, allocations: 177.8 kB / 0.6895 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.7532, allocations: 33 kB / 0.6895 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001613/0.7548, allocations: 0.5099 MB / 0.69 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001274/0.7561, allocations: 0.5031 MB / 0.6905 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001867/0.758, allocations: 0.6736 MB / 0.6912 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.081e-06/0.758, allocations: 1.922 kB / 0.6912 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00331/0.7613, allocations: 0.9767 MB / 0.6921 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.7614, allocations: 13.69 kB / 0.6922 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7614, allocations: 5.031 kB / 0.6922 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.7627, allocations: 309.8 kB / 0.6925 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.7633, allocations: 120.6 kB / 0.6926 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.7649, allocations: 0.9073 MB / 0.6935 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.7668, allocations: 160.9 kB / 0.6936 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.767, allocations: 33.44 kB / 0.6936 GB, free: 4.789 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000376/0.7674, allocations: 215.7 kB / 0.6938 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/0.7679, allocations: 112.5 kB / 0.694 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.7722, allocations: 1.109 MB / 0.695 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.7722, allocations: 5.875 kB / 0.695 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.7723, allocations: 3.938 kB / 0.695 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.7723, allocations: 3 kB / 0.695 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006792/0.7791, allocations: 2.193 MB / 0.6972 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.7791, allocations: 2.438 kB / 0.6972 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.7794, allocations: 66.45 kB / 0.6973 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.7806, allocations: 313.1 kB / 0.6976 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.7807, allocations: 13.06 kB / 0.6976 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.7823, allocations: 0.9399 MB / 0.6985 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.7823, allocations: 6.594 kB / 0.6985 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/0.7863, allocations: 1.187 MB / 0.6996 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008815/0.7872, allocations: 271.4 kB / 0.6999 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/0.7876, allocations: 12.92 kB / 0.6999 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.7889, allocations: 95.67 kB / 0.7 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7891, allocations: 44.48 kB / 0.7001 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.7892, allocations: 23.52 kB / 0.7001 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001896/0.7911, allocations: 0.7411 MB / 0.7008 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7911, allocations: 0 / 0.7008 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002926/0.794, allocations: 0.5631 MB / 0.7014 GB, free: 0.918 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.7953, allocations: 391.3 kB / 0.7017 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003559/0.7989, allocations: 1.093 MB / 0.7028 GB, free: 212 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.7989, allocations: 6.406 kB / 0.7028 GB, free: 208 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.8, allocations: 354.3 kB / 0.7031 GB, free: 48 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/0.8039, allocations: 0.4891 MB / 0.7036 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.8113, allocations: 2.474 MB / 0.706 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.8126, allocations: 1.062 MB / 0.7071 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.813, allocations: 79.73 kB / 0.7071 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.8131, allocations: 0 / 0.7071 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.04324/0.8563, allocations: 24.01 MB / 0.7306 GB, free: 6.883 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)