Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001078, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.008415/0.008415, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7719/0.7719, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8 kB / 0.504 GB, free: 3.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4592, allocations: 81.58 MB / 0.5837 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06649/0.5257, allocations: 59.74 MB / 0.642 GB, free: 4.602 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0204/0.5462, allocations: 11.9 MB / 0.6536 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003441/0.5496, allocations: 51.62 kB / 0.6537 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.5521, allocations: 0.5477 MB / 0.6542 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00687/0.559, allocations: 1.8 MB / 0.656 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.5627, allocations: 1.076 MB / 0.657 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005589/0.5683, allocations: 3.902 MB / 0.6608 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002253/0.5706, allocations: 0.9304 MB / 0.6617 GB, free: 328 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.5735, allocations: 1.12 MB / 0.6628 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.5755, allocations: 0.8593 MB / 0.6637 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003464/0.5759, allocations: 44 kB / 0.6637 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.5791, allocations: 1.329 MB / 0.665 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.5796, allocations: 226.9 kB / 0.6652 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.5808, allocations: 0.635 MB / 0.6659 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.5847, allocations: 2.2 MB / 0.668 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5847, allocations: 0 / 0.668 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5847, allocations: 4 kB / 0.668 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.067e-05/0.5848, allocations: 0 / 0.668 GB, free: 9.879 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003303/0.5881, allocations: 1.493 MB / 0.6695 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.5881, allocations: 16.03 kB / 0.6695 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002722/0.5909, allocations: 0.5182 MB / 0.67 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.5933, allocations: 1.132 MB / 0.6711 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/0.5937, allocations: 129.9 kB / 0.6712 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.5939, allocations: 80 kB / 0.6713 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.5963, allocations: 1.033 MB / 0.6723 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.5964, allocations: 4 kB / 0.6723 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/0.5965, allocations: 28 kB / 0.6723 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.5965, allocations: 20 kB / 0.6724 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.5993, allocations: 1.015 MB / 0.6733 GB, free: 4.266 MB / 0.4981 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.006713/0.606, allocations: 4.723 MB / 0.678 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/0.6104, allocations: 1.133 MB / 0.6791 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.6116, allocations: 441.9 kB / 0.6795 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.6126, allocations: 1.037 MB / 0.6805 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.6126, allocations: 39 kB / 0.6805 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/0.6127, allocations: 0 / 0.6805 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.01045/0.6231, allocations: 2.502 MB / 0.683 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.6232, allocations: 55.84 kB / 0.683 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.6249, allocations: 0.9314 MB / 0.6839 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.625, allocations: 41.7 kB / 0.684 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.6254, allocations: 0.5002 MB / 0.6845 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.6257, allocations: 189.2 kB / 0.6847 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/0.6258, allocations: 53.69 kB / 0.6847 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6259, allocations: 330 kB / 0.685 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.627, allocations: 376.9 kB / 0.6854 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.6283, allocations: 0.5507 MB / 0.6859 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.6305, allocations: 0.8205 MB / 0.6867 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.6305, allocations: 0 / 0.6867 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003307/0.6338, allocations: 1.142 MB / 0.6878 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.634, allocations: 166.7 kB / 0.688 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.634, allocations: 0 / 0.688 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.6354, allocations: 328.6 kB / 0.6883 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.6361, allocations: 143.8 kB / 0.6884 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.6378, allocations: 0.9418 MB / 0.6894 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6392, allocations: 180.7 kB / 0.6895 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.6393, allocations: 31.97 kB / 0.6896 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.6393, allocations: 4 kB / 0.6896 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003045/0.6424, allocations: 1.001 MB / 0.6905 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6424, allocations: 0 / 0.6905 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.6437, allocations: 324.8 kB / 0.6909 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.6443, allocations: 147.8 kB / 0.691 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.6459, allocations: 0.9385 MB / 0.6919 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.6472, allocations: 167.5 kB / 0.6921 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.6473, allocations: 27.98 kB / 0.6921 GB, free: 192 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0006673/0.648, allocations: 349 kB / 0.6924 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.6483, allocations: 110.6 kB / 0.6925 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004987/0.6533, allocations: 1.45 MB / 0.694 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.6533, allocations: 11.98 kB / 0.694 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6533, allocations: 3.938 kB / 0.694 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6533, allocations: 0 / 0.694 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006587/0.6599, allocations: 2.514 MB / 0.6964 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.66, allocations: 8.125 kB / 0.6964 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.6606, allocations: 115.8 kB / 0.6965 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.6617, allocations: 328.5 kB / 0.6969 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.6617, allocations: 19.98 kB / 0.6969 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.6633, allocations: 0.9582 MB / 0.6978 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6633, allocations: 4.062 kB / 0.6978 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004774/0.6681, allocations: 1.456 MB / 0.6992 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/0.6688, allocations: 295.4 kB / 0.6995 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.669, allocations: 12 kB / 0.6995 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.6702, allocations: 127.8 kB / 0.6996 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.6703, allocations: 36.33 kB / 0.6997 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.6703, allocations: 27.97 kB / 0.6997 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001111/0.6715, allocations: 0.6635 MB / 0.7004 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.006e-06/0.6715, allocations: 0 / 0.7004 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001808/0.6733, allocations: 0.5729 MB / 0.7009 GB, free: 6.965 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009541/0.6743, allocations: 375 kB / 0.7013 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004161/0.6784, allocations: 1.393 MB / 0.7026 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6785, allocations: 4 kB / 0.7026 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.6798, allocations: 488.9 kB / 0.7031 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/0.683, allocations: 0.5073 MB / 0.7036 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/0.6877, allocations: 2.374 MB / 0.7059 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/0.6884, allocations: 1.066 MB / 0.707 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00122/0.6896, allocations: 227.2 kB / 0.7072 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.6899, allocations: 79.41 kB / 0.7073 GB, free: 432 kB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.6899, allocations: 3.938 kB / 0.7073 GB, free: 428 kB / 0.5294 GB Notification: Performance of Templates: time 0.0399/0.7298, allocations: 23.63 MB / 0.7303 GB, free: 9.105 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)