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.001094/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001214/0.001214, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.371/1.371, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7351/0.7351, allocations: 132.2 MB / 422.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 61.69 kB / 0.5011 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1896, allocations: 80.2 MB / 0.5794 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3775/0.5672, allocations: 60.83 MB / 0.6388 GB, free: 23.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.5822, allocations: 12.05 MB / 0.6506 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.5851, allocations: 56.69 kB / 0.6506 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.5874, allocations: 0.5519 MB / 0.6512 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005449/0.5929, allocations: 1.802 MB / 0.6529 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.5971, allocations: 1.071 MB / 0.654 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006686/0.6038, allocations: 3.902 MB / 0.6578 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/0.6063, allocations: 0.9322 MB / 0.6587 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004015/0.6104, allocations: 1.148 MB / 0.6598 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.6134, allocations: 0.9042 MB / 0.6607 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006692/0.6141, allocations: 56.25 kB / 0.6608 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005672/0.6198, allocations: 1.357 MB / 0.6621 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006813/0.6205, allocations: 234.8 kB / 0.6623 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.6224, allocations: 0.6271 MB / 0.6629 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006885/0.6293, allocations: 2.251 MB / 0.6651 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.6294, allocations: 2.016 kB / 0.6651 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6294, allocations: 0 / 0.6651 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.717e-05/0.6295, allocations: 0 / 0.6651 GB, free: 8.586 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.005827/0.6353, allocations: 1.733 MB / 0.6668 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.6354, allocations: 9.469 kB / 0.6668 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/0.6395, allocations: 410.5 kB / 0.6672 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.6436, allocations: 1.128 MB / 0.6683 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006426/0.6443, allocations: 123.1 kB / 0.6684 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.6445, allocations: 79.09 kB / 0.6685 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/0.6482, allocations: 0.9817 MB / 0.6695 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.6483, allocations: 1.094 kB / 0.6695 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.6484, allocations: 31.28 kB / 0.6695 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.6485, allocations: 19.56 kB / 0.6695 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004146/0.6526, allocations: 0.8658 MB / 0.6704 GB, free: 5.773 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.01115/0.6638, allocations: 4.858 MB / 0.6751 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0064/0.6702, allocations: 0.7914 MB / 0.6759 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.6717, allocations: 309.3 kB / 0.6762 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008249/0.6725, allocations: 0.905 MB / 0.6771 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.6726, allocations: 44.61 kB / 0.6771 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 4.058e-06/0.6726, allocations: 0.9375 kB / 0.6771 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.01611/0.6887, allocations: 1.931 MB / 0.679 GB, free: 180 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.6888, allocations: 56.5 kB / 0.679 GB, free: 116 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/0.6922, allocations: 1.052 MB / 0.6801 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.6924, allocations: 37.64 kB / 0.6801 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.6932, allocations: 0.5168 MB / 0.6806 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.6935, allocations: 154.2 kB / 0.6808 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/0.694, allocations: 128.4 kB / 0.6809 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6942, allocations: 325.6 kB / 0.6812 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.6959, allocations: 309.9 kB / 0.6815 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.6981, allocations: 0.5063 MB / 0.682 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.7011, allocations: 0.6755 MB / 0.6826 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.7011, allocations: 2.375 kB / 0.6826 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.005312/0.7064, allocations: 0.9922 MB / 0.6836 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.7065, allocations: 6.75 kB / 0.6836 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.7065, allocations: 4.094 kB / 0.6836 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.7089, allocations: 323.7 kB / 0.6839 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.71, allocations: 117.9 kB / 0.684 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.7127, allocations: 0.9102 MB / 0.6849 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.7155, allocations: 178.6 kB / 0.6851 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.7157, allocations: 29.67 kB / 0.6851 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002417/0.7181, allocations: 0.506 MB / 0.6856 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002043/0.7202, allocations: 0.506 MB / 0.6861 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00308/0.7233, allocations: 0.6705 MB / 0.6868 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.481e-06/0.7233, allocations: 1.188 kB / 0.6868 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.005196/0.7285, allocations: 0.97 MB / 0.6877 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.7286, allocations: 12.97 kB / 0.6877 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7286, allocations: 4 kB / 0.6877 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.7305, allocations: 320.9 kB / 0.688 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.7315, allocations: 125.6 kB / 0.6882 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.7341, allocations: 0.9068 MB / 0.6891 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.7368, allocations: 155.4 kB / 0.6892 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.7369, allocations: 29.53 kB / 0.6892 GB, free: 10.68 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.0004034/0.7373, allocations: 215.9 kB / 0.6894 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/0.7377, allocations: 113.1 kB / 0.6895 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/0.7433, allocations: 1.106 MB / 0.6906 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.7434, allocations: 8.297 kB / 0.6906 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.7434, allocations: 9 kB / 0.6906 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.7434, allocations: 3.562 kB / 0.6906 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005725/0.7491, allocations: 2.187 MB / 0.6928 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.7491, allocations: 2.25 kB / 0.6928 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.7494, allocations: 66.59 kB / 0.6928 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.7505, allocations: 310.5 kB / 0.6931 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.7506, allocations: 17.75 kB / 0.6932 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.752, allocations: 0.9405 MB / 0.6941 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7521, allocations: 7.625 kB / 0.6941 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/0.7558, allocations: 1.188 MB / 0.6952 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/0.7564, allocations: 266.1 kB / 0.6955 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.7567, allocations: 12.12 kB / 0.6955 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7577, allocations: 94.92 kB / 0.6956 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.7578, allocations: 37.66 kB / 0.6956 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.7579, allocations: 23.88 kB / 0.6957 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001494/0.7594, allocations: 0.7415 MB / 0.6964 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.924e-06/0.7594, allocations: 0 / 0.6964 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002329/0.7618, allocations: 0.5675 MB / 0.6969 GB, free: 6.965 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.001037/0.7628, allocations: 390.4 kB / 0.6973 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003491/0.7663, allocations: 1.097 MB / 0.6984 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7663, allocations: 1.062 kB / 0.6984 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009066/0.7672, allocations: 354.2 kB / 0.6987 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.7699, allocations: 0.503 MB / 0.6992 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/0.7755, allocations: 2.435 MB / 0.7016 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.7762, allocations: 1.064 MB / 0.7026 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001129/0.7773, allocations: 227.4 kB / 0.7028 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.7776, allocations: 74.08 kB / 0.7029 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.7776, allocations: 4 kB / 0.7029 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of Templates: time 0.04051/0.8181, allocations: 23.95 MB / 0.7263 GB, free: 13.2 MB / 0.545 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)