Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0007678/0.0007677, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006607/0.006607, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 8.188 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 82.32 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4684/0.68, allocations: 59.72 MB / 0.6463 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.6958, allocations: 11.9 MB / 0.6579 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.6981, allocations: 55.5 kB / 0.658 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.6997, allocations: 0.5526 MB / 0.6585 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.7044, allocations: 1.8 MB / 0.6603 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.7069, allocations: 1.066 MB / 0.6613 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004044/0.7109, allocations: 3.914 MB / 0.6651 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.7124, allocations: 0.9198 MB / 0.666 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.7148, allocations: 1.111 MB / 0.6671 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.7165, allocations: 0.8714 MB / 0.668 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.7167, allocations: 43.16 kB / 0.668 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.7193, allocations: 1.332 MB / 0.6693 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.7195, allocations: 214.4 kB / 0.6695 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008323/0.7204, allocations: 0.6367 MB / 0.6701 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.7247, allocations: 2.202 MB / 0.6723 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7247, allocations: 4 kB / 0.6723 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7247, allocations: 0 / 0.6723 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.178e-05/0.7247, allocations: 1.531 kB / 0.6723 GB, free: 2.289 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.003659/0.7284, allocations: 1.496 MB / 0.6738 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.7285, allocations: 9.688 kB / 0.6738 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.7313, allocations: 0.5148 MB / 0.6743 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.7336, allocations: 1.135 MB / 0.6754 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/0.734, allocations: 129.7 kB / 0.6755 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.7342, allocations: 83.06 kB / 0.6756 GB, free: 400 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.7366, allocations: 1.038 MB / 0.6766 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.7367, allocations: 8.797 kB / 0.6766 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.7368, allocations: 31.69 kB / 0.6766 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.7368, allocations: 18.62 kB / 0.6766 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.7397, allocations: 1.004 MB / 0.6776 GB, free: 15.6 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.007398/0.7471, allocations: 4.72 MB / 0.6822 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/0.7518, allocations: 1.121 MB / 0.6833 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.753, allocations: 441.5 kB / 0.6838 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.7542, allocations: 1.035 MB / 0.6848 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.7543, allocations: 45.78 kB / 0.6848 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.425e-06/0.7543, allocations: 4 kB / 0.6848 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.01096/0.7653, allocations: 2.497 MB / 0.6872 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.7653, allocations: 58 kB / 0.6873 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.767, allocations: 0.9391 MB / 0.6882 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.7671, allocations: 37.64 kB / 0.6883 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.7676, allocations: 0.5036 MB / 0.6887 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.7678, allocations: 182.8 kB / 0.6889 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.7679, allocations: 49.2 kB / 0.689 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7681, allocations: 329.5 kB / 0.6893 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.7693, allocations: 381.5 kB / 0.6896 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.7706, allocations: 0.5486 MB / 0.6902 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.7732, allocations: 0.8266 MB / 0.691 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.7732, allocations: 1.062 kB / 0.691 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004121/0.7774, allocations: 1.145 MB / 0.6921 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.7775, allocations: 159.7 kB / 0.6923 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7775, allocations: 1.906 kB / 0.6923 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.779, allocations: 331.8 kB / 0.6926 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.7797, allocations: 146.5 kB / 0.6927 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.7814, allocations: 0.9423 MB / 0.6936 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.783, allocations: 180.5 kB / 0.6938 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.018e-05/0.7831, allocations: 28.59 kB / 0.6938 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.7831, allocations: 4.281 kB / 0.6938 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002915/0.786, allocations: 1.005 MB / 0.6948 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7861, allocations: 2.828 kB / 0.6948 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.7872, allocations: 317.5 kB / 0.6951 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.7879, allocations: 145.7 kB / 0.6953 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.7895, allocations: 0.935 MB / 0.6962 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.791, allocations: 169.1 kB / 0.6963 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/0.791, allocations: 27.7 kB / 0.6964 GB, free: 5.234 MB / 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.0007452/0.7918, allocations: 356.4 kB / 0.6967 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.792, allocations: 110.3 kB / 0.6968 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004972/0.797, allocations: 1.44 MB / 0.6982 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.797, allocations: 6.094 kB / 0.6982 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.797, allocations: 7.938 kB / 0.6982 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.7971, allocations: 3.375 kB / 0.6982 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/0.804, allocations: 2.524 MB / 0.7007 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.804, allocations: 1.188 kB / 0.7007 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.8046, allocations: 126.4 kB / 0.7008 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.8058, allocations: 333.8 kB / 0.7011 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.8059, allocations: 17.83 kB / 0.7012 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.8077, allocations: 0.9625 MB / 0.7021 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.8077, allocations: 5.906 kB / 0.7021 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004906/0.8126, allocations: 1.463 MB / 0.7035 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007478/0.8133, allocations: 285.9 kB / 0.7038 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.8135, allocations: 11 kB / 0.7038 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8145, allocations: 130.3 kB / 0.7039 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/0.8146, allocations: 38.2 kB / 0.704 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.8147, allocations: 27.19 kB / 0.704 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0011/0.8158, allocations: 0.6561 MB / 0.7046 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8158, allocations: 0 / 0.7046 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002036/0.8179, allocations: 0.5793 MB / 0.7052 GB, free: 0.7773 MB / 0.5137 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.0009696/0.8188, allocations: 380.9 kB / 0.7056 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004055/0.8229, allocations: 1.397 MB / 0.7069 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.8229, allocations: 0 / 0.7069 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.8243, allocations: 493.1 kB / 0.7074 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.8275, allocations: 496.8 kB / 0.7079 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.832, allocations: 2.379 MB / 0.7102 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.8327, allocations: 1.064 MB / 0.7112 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001236/0.834, allocations: 244.6 kB / 0.7115 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.8343, allocations: 79.41 kB / 0.7116 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.8343, allocations: 0 / 0.7116 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of Templates: time 0.04127/0.8755, allocations: 23.64 MB / 0.7346 GB, free: 5.309 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)