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.001069/0.001069, allocations: 107.1 kB / 15.99 MB, free: 6.348 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.001132/0.001132, allocations: 190.9 kB / 16.91 MB, free: 6.184 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7811/0.7811, allocations: 132.2 MB / 422.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.435, allocations: 80.19 MB / 0.5802 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05209/0.4871, allocations: 60.7 MB / 0.6395 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0175/0.5046, allocations: 11.88 MB / 0.6511 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.5075, allocations: 55.62 kB / 0.6511 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.5098, allocations: 0.5906 MB / 0.6517 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006691/0.5166, allocations: 1.819 MB / 0.6535 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.5205, allocations: 1.097 MB / 0.6546 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005681/0.5262, allocations: 3.095 MB / 0.6576 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.5285, allocations: 1.108 MB / 0.6587 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/0.5326, allocations: 1.336 MB / 0.66 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.5344, allocations: 0.9373 MB / 0.6609 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.5346, allocations: 116 kB / 0.661 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.5378, allocations: 1.466 MB / 0.6624 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.5381, allocations: 290.9 kB / 0.6627 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000935/0.539, allocations: 0.6997 MB / 0.6634 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.5419, allocations: 1.774 MB / 0.6651 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5419, allocations: 0 / 0.6651 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.639e-06/0.542, allocations: 0 / 0.6651 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.542, allocations: 3.938 kB / 0.6651 GB, free: 7.254 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.003102/0.5451, allocations: 1.722 MB / 0.6668 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5451, allocations: 12.03 kB / 0.6668 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.5472, allocations: 406.8 kB / 0.6672 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.5493, allocations: 1.124 MB / 0.6683 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/0.5496, allocations: 121.9 kB / 0.6684 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.5498, allocations: 80 kB / 0.6685 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.5517, allocations: 0.9816 MB / 0.6695 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.5518, allocations: 0 / 0.6695 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.5518, allocations: 32 kB / 0.6695 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5519, allocations: 20 kB / 0.6695 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.554, allocations: 0.8703 MB / 0.6704 GB, free: 1.73 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.006436/0.5605, allocations: 4.851 MB / 0.6751 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.5638, allocations: 0.8075 MB / 0.6759 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/0.5645, allocations: 300.7 kB / 0.6762 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007104/0.5652, allocations: 0.9102 MB / 0.6771 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.5652, allocations: 38.52 kB / 0.6771 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.375e-06/0.5652, allocations: 0 / 0.6771 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008277/0.5735, allocations: 1.93 MB / 0.679 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.5736, allocations: 59.39 kB / 0.679 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.5752, allocations: 1.051 MB / 0.6801 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.5753, allocations: 37.7 kB / 0.6801 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.5757, allocations: 0.5197 MB / 0.6806 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.5759, allocations: 153.7 kB / 0.6808 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.5761, allocations: 130.1 kB / 0.6809 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5762, allocations: 330 kB / 0.6812 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008188/0.577, allocations: 302.9 kB / 0.6815 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.5781, allocations: 0.502 MB / 0.682 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.5796, allocations: 0.6859 MB / 0.6826 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5796, allocations: 3.938 kB / 0.6827 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002522/0.5822, allocations: 0.9804 MB / 0.6836 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.5822, allocations: 11.94 kB / 0.6836 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.5822, allocations: 4.438 kB / 0.6836 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.5834, allocations: 324.6 kB / 0.6839 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.584, allocations: 115.8 kB / 0.684 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.5854, allocations: 0.914 MB / 0.6849 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.5867, allocations: 171.3 kB / 0.6851 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/0.5868, allocations: 27.98 kB / 0.6851 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/0.588, allocations: 0.5088 MB / 0.6856 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001001/0.589, allocations: 0.5169 MB / 0.6861 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001521/0.5905, allocations: 0.6709 MB / 0.6868 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/0.5905, allocations: 0 / 0.6868 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002594/0.5931, allocations: 0.9804 MB / 0.6877 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.5932, allocations: 8 kB / 0.6877 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.5932, allocations: 4 kB / 0.6878 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.5944, allocations: 317 kB / 0.6881 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.5949, allocations: 115.9 kB / 0.6882 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.5963, allocations: 0.9075 MB / 0.6891 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.5977, allocations: 156.7 kB / 0.6892 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.5978, allocations: 24 kB / 0.6892 GB, free: 13.39 MB / 0.5294 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.0002987/0.5981, allocations: 224 kB / 0.6894 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.5983, allocations: 110.6 kB / 0.6895 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.6019, allocations: 1.114 MB / 0.6906 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.6019, allocations: 7.938 kB / 0.6906 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.602, allocations: 4 kB / 0.6906 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.602, allocations: 3.984 kB / 0.6906 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004788/0.6068, allocations: 2.187 MB / 0.6928 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6068, allocations: 4.281 kB / 0.6928 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.6071, allocations: 71.89 kB / 0.6929 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009404/0.608, allocations: 307 kB / 0.6931 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.6081, allocations: 15.98 kB / 0.6932 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.6094, allocations: 0.9425 MB / 0.6941 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6095, allocations: 0 / 0.6941 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/0.6128, allocations: 1.185 MB / 0.6952 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.6133, allocations: 271.5 kB / 0.6955 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.6134, allocations: 8 kB / 0.6955 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/0.6143, allocations: 99.83 kB / 0.6956 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.6144, allocations: 35.89 kB / 0.6956 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/0.6145, allocations: 23.98 kB / 0.6957 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001094/0.6155, allocations: 0.7428 MB / 0.6964 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6156, allocations: 0 / 0.6964 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001495/0.6171, allocations: 0.5575 MB / 0.6969 GB, free: 5.281 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.0008137/0.6179, allocations: 385.4 kB / 0.6973 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0031/0.621, allocations: 1.133 MB / 0.6984 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.621, allocations: 0 / 0.6984 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.6219, allocations: 358.4 kB / 0.6987 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.6241, allocations: 0.5194 MB / 0.6993 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.6294, allocations: 2.458 MB / 0.7017 GB, free: 428 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/0.6301, allocations: 1.061 MB / 0.7027 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.6304, allocations: 87.34 kB / 0.7028 GB, free: 15.24 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/0.6304, allocations: 4 kB / 0.7028 GB, free: 15.23 MB / 0.545 GB Notification: Performance of Templates: time 0.0318/0.6622, allocations: 23.96 MB / 0.7262 GB, free: 7.449 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)