Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0008152/0.0008153, allocations: 90.83 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.008291/0.008291, 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7823/0.7823, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 8.562 kB / 0.504 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5157, allocations: 81.58 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06091/0.5767, allocations: 59.75 MB / 0.642 GB, free: 4.582 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.5938, allocations: 11.89 MB / 0.6536 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/0.5966, allocations: 59.62 kB / 0.6537 GB, free: 8.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.5989, allocations: 0.5477 MB / 0.6542 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006405/0.6054, allocations: 1.8 MB / 0.656 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.6089, allocations: 1.075 MB / 0.657 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007524/0.6164, allocations: 3.906 MB / 0.6608 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.6189, allocations: 0.8981 MB / 0.6617 GB, free: 340 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.6225, allocations: 1.124 MB / 0.6628 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.6245, allocations: 0.8553 MB / 0.6637 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.6249, allocations: 44 kB / 0.6637 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003747/0.6286, allocations: 1.341 MB / 0.665 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005498/0.6292, allocations: 214.9 kB / 0.6652 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.6308, allocations: 0.6311 MB / 0.6658 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004559/0.6354, allocations: 2.2 MB / 0.668 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6354, allocations: 0 / 0.668 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.265e-06/0.6354, allocations: 4 kB / 0.668 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.074e-05/0.6355, allocations: 0 / 0.668 GB, free: 9.895 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.003632/0.6391, allocations: 1.487 MB / 0.6694 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6392, allocations: 16.03 kB / 0.6694 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002513/0.6417, allocations: 466.8 kB / 0.6699 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.6443, allocations: 1.139 MB / 0.671 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/0.6448, allocations: 125.9 kB / 0.6711 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.645, allocations: 80 kB / 0.6712 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.6474, allocations: 1.009 MB / 0.6722 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.6474, allocations: 3.938 kB / 0.6722 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.6475, allocations: 32 kB / 0.6722 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.6475, allocations: 20 kB / 0.6722 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.6502, allocations: 0.9211 MB / 0.6731 GB, free: 4.449 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.007644/0.6579, allocations: 4.906 MB / 0.6779 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/0.6615, allocations: 0.8985 MB / 0.6788 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/0.6624, allocations: 324.6 kB / 0.6791 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/0.6631, allocations: 0.9141 MB / 0.68 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.6631, allocations: 42.52 kB / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.276e-06/0.6632, allocations: 0 / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009446/0.6726, allocations: 2.161 MB / 0.6822 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.6727, allocations: 63.34 kB / 0.6822 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.6747, allocations: 1.059 MB / 0.6833 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.6748, allocations: 33.7 kB / 0.6833 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.6753, allocations: 0.5313 MB / 0.6838 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.6755, allocations: 145.9 kB / 0.6839 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.6756, allocations: 45.69 kB / 0.684 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6757, allocations: 330 kB / 0.6843 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009615/0.6767, allocations: 320.9 kB / 0.6846 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.6778, allocations: 0.5411 MB / 0.6851 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.6796, allocations: 0.7212 MB / 0.6858 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.6796, allocations: 3.938 kB / 0.6858 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003113/0.6827, allocations: 1.051 MB / 0.6869 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.6829, allocations: 212.2 kB / 0.6871 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.6829, allocations: 4 kB / 0.6871 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.6844, allocations: 340.5 kB / 0.6874 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.685, allocations: 135.8 kB / 0.6875 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.6866, allocations: 0.9309 MB / 0.6884 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.6881, allocations: 191.3 kB / 0.6886 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.6882, allocations: 31.98 kB / 0.6887 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6883, allocations: 6.344 kB / 0.6887 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002653/0.6909, allocations: 0.9177 MB / 0.6896 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6909, allocations: 4 kB / 0.6896 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.6922, allocations: 336.6 kB / 0.6899 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.6927, allocations: 131.7 kB / 0.69 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.6943, allocations: 0.9386 MB / 0.6909 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.6956, allocations: 167.4 kB / 0.6911 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/0.6957, allocations: 31.98 kB / 0.6911 GB, free: 1.113 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.0006116/0.6963, allocations: 348.9 kB / 0.6914 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.6966, allocations: 110.6 kB / 0.6916 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.701, allocations: 1.216 MB / 0.6927 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.701, allocations: 11.98 kB / 0.6928 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.701, allocations: 3.938 kB / 0.6928 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.701, allocations: 0 / 0.6928 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/0.707, allocations: 2.293 MB / 0.695 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.707, allocations: 7.922 kB / 0.695 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.7074, allocations: 63.95 kB / 0.6951 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.7085, allocations: 332.7 kB / 0.6954 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.7086, allocations: 19.98 kB / 0.6954 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.7102, allocations: 0.966 MB / 0.6963 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.7102, allocations: 7.938 kB / 0.6963 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/0.7143, allocations: 1.279 MB / 0.6976 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006698/0.715, allocations: 283.5 kB / 0.6979 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.7152, allocations: 11.94 kB / 0.6979 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.7164, allocations: 119.7 kB / 0.698 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.7165, allocations: 39.83 kB / 0.698 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.7166, allocations: 27.98 kB / 0.6981 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001453/0.718, allocations: 0.7389 MB / 0.6988 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7181, allocations: 0 / 0.6988 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002006/0.7201, allocations: 0.5613 MB / 0.6993 GB, free: 8.492 MB / 0.5294 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.00112/0.7212, allocations: 391.6 kB / 0.6997 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003626/0.7248, allocations: 1.171 MB / 0.7008 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.7249, allocations: 4.062 kB / 0.7008 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009713/0.7258, allocations: 372.5 kB / 0.7012 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/0.7292, allocations: 0.5042 MB / 0.7017 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006265/0.7355, allocations: 2.541 MB / 0.7042 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.7363, allocations: 1.065 MB / 0.7052 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001178/0.7375, allocations: 216.2 kB / 0.7054 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.7378, allocations: 75.41 kB / 0.7055 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of SimCode: time 2.054e-06/0.7378, allocations: 3.938 kB / 0.7055 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of Templates: time 0.04222/0.78, allocations: 24.08 MB / 0.729 GB, free: 10.32 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)