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.001048/0.001048, allocations: 103.4 kB / 16.35 MB, free: 5.875 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.001121/0.001121, allocations: 191 kB / 17.29 MB, free: 5.516 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.2 MB / 423.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.309, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04929/0.3583, allocations: 61.19 MB / 0.6412 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01552/0.3739, allocations: 11.98 MB / 0.6529 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.3756, allocations: 59.62 kB / 0.653 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.3773, allocations: 0.683 MB / 0.6537 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.3819, allocations: 1.955 MB / 0.6556 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.3846, allocations: 1.218 MB / 0.6568 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003616/0.3882, allocations: 3.095 MB / 0.6598 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.3896, allocations: 1.128 MB / 0.6609 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.3923, allocations: 1.333 MB / 0.6622 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.3936, allocations: 0.9062 MB / 0.6631 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.3938, allocations: 116 kB / 0.6632 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.3964, allocations: 1.443 MB / 0.6646 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.3967, allocations: 302.8 kB / 0.6649 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007064/0.3974, allocations: 0.6997 MB / 0.6656 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.4003, allocations: 2.329 MB / 0.6678 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4003, allocations: 3.984 kB / 0.6678 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4003, allocations: 0 / 0.6678 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.4003, allocations: 4 kB / 0.6678 GB, free: 5.523 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.002817/0.4031, allocations: 1.73 MB / 0.6695 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4032, allocations: 8.031 kB / 0.6695 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.4055, allocations: 458.8 kB / 0.67 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.4076, allocations: 1.167 MB / 0.6711 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.4077, allocations: 69.94 kB / 0.6712 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.4078, allocations: 80 kB / 0.6713 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.4098, allocations: 0.9978 MB / 0.6722 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.4098, allocations: 7.938 kB / 0.6722 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.4099, allocations: 31.98 kB / 0.6723 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.4099, allocations: 20 kB / 0.6723 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.4123, allocations: 0.9407 MB / 0.6732 GB, free: 15.88 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.00585/0.4182, allocations: 4.677 MB / 0.6778 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003809/0.422, allocations: 0.9853 MB / 0.6787 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.423, allocations: 412.4 kB / 0.6791 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009426/0.424, allocations: 1.013 MB / 0.6801 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.424, allocations: 46.98 kB / 0.6802 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.424, allocations: 0 / 0.6802 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008509/0.4325, allocations: 2.162 MB / 0.6823 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.4326, allocations: 63.84 kB / 0.6823 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.4337, allocations: 0.9508 MB / 0.6833 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.4338, allocations: 37.7 kB / 0.6833 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.4342, allocations: 0.5041 MB / 0.6838 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.4343, allocations: 189.2 kB / 0.684 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.4346, allocations: 122.1 kB / 0.6841 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4347, allocations: 334 kB / 0.6844 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009663/0.4357, allocations: 354.8 kB / 0.6848 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.4368, allocations: 0.5117 MB / 0.6853 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.4387, allocations: 0.7579 MB / 0.686 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4387, allocations: 0 / 0.686 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002708/0.4414, allocations: 1.057 MB / 0.687 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4415, allocations: 8 kB / 0.687 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4415, allocations: 4 kB / 0.687 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.4426, allocations: 300.9 kB / 0.6873 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.4433, allocations: 131.8 kB / 0.6874 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.4446, allocations: 0.897 MB / 0.6883 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008834/0.4455, allocations: 127.3 kB / 0.6884 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.4456, allocations: 27.98 kB / 0.6885 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001213/0.4468, allocations: 0.5556 MB / 0.689 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001061/0.4479, allocations: 0.5116 MB / 0.6895 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001864/0.4497, allocations: 0.7424 MB / 0.6902 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.4497, allocations: 0 / 0.6902 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00263/0.4524, allocations: 1.049 MB / 0.6913 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.4524, allocations: 8.312 kB / 0.6913 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4524, allocations: 4 kB / 0.6913 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009683/0.4534, allocations: 289.9 kB / 0.6916 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.454, allocations: 131.8 kB / 0.6917 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.4552, allocations: 0.8841 MB / 0.6925 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/0.4561, allocations: 123.5 kB / 0.6927 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.4562, allocations: 31.92 kB / 0.6927 GB, free: 10.97 MB / 0.5294 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.0001906/0.4564, allocations: 220.1 kB / 0.6929 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.4566, allocations: 106.7 kB / 0.693 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/0.4608, allocations: 1.306 MB / 0.6943 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.4608, allocations: 12 kB / 0.6943 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4609, allocations: 7.984 kB / 0.6943 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4609, allocations: 3.938 kB / 0.6943 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/0.4662, allocations: 2.405 MB / 0.6966 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4662, allocations: 0 / 0.6966 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/0.4667, allocations: 108 kB / 0.6968 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00088/0.4676, allocations: 284.6 kB / 0.697 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.4677, allocations: 23.98 kB / 0.697 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.469, allocations: 0.9172 MB / 0.6979 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.469, allocations: 15.97 kB / 0.698 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003838/0.4729, allocations: 1.312 MB / 0.6992 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.4733, allocations: 283.4 kB / 0.6995 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.4734, allocations: 27.92 kB / 0.6995 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008057/0.4742, allocations: 75.91 kB / 0.6996 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.4743, allocations: 32.39 kB / 0.6996 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.4744, allocations: 31.97 kB / 0.6997 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008147/0.4752, allocations: 0.6635 MB / 0.7003 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4752, allocations: 0 / 0.7003 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001355/0.4766, allocations: 0.5653 MB / 0.7009 GB, free: 2.414 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.0007212/0.4773, allocations: 407.2 kB / 0.7013 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003463/0.4808, allocations: 1.295 MB / 0.7025 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4808, allocations: 0 / 0.7025 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.482, allocations: 456.8 kB / 0.703 GB, free: 300 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.4839, allocations: 0.4908 MB / 0.7034 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.4872, allocations: 1.883 MB / 0.7053 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.4877, allocations: 1.07 MB / 0.7063 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007511/0.4885, allocations: 229.3 kB / 0.7065 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.4887, allocations: 83.41 kB / 0.7066 GB, free: 12.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.4887, allocations: 0 / 0.7066 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Templates: time 0.03744/0.5262, allocations: 24.69 MB / 0.7307 GB, free: 4.094 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)