Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0009292/0.0009292, allocations: 91.22 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.007421/0.007421, allocations: 172.6 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003716, allocations: 8 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.189, allocations: 82.31 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.5046/0.6937, allocations: 59.72 MB / 0.6463 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.7102, allocations: 11.91 MB / 0.6579 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.7133, allocations: 53.12 kB / 0.658 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.7159, allocations: 0.5551 MB / 0.6585 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006741/0.7227, allocations: 1.798 MB / 0.6603 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.7266, allocations: 1.078 MB / 0.6613 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006191/0.7328, allocations: 3.901 MB / 0.6651 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.7352, allocations: 0.9047 MB / 0.666 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/0.7388, allocations: 1.121 MB / 0.6671 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.7412, allocations: 0.8494 MB / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.7417, allocations: 42.38 kB / 0.668 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00449/0.7462, allocations: 1.35 MB / 0.6693 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005862/0.7468, allocations: 215.3 kB / 0.6695 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.7489, allocations: 0.6315 MB / 0.6701 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007269/0.7562, allocations: 2.198 MB / 0.6723 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.7562, allocations: 0 / 0.6723 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7562, allocations: 1.406 kB / 0.6723 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001364/0.7564, allocations: 0 / 0.6723 GB, free: 2.312 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.005406/0.7618, allocations: 1.49 MB / 0.6737 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.7619, allocations: 8.562 kB / 0.6737 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.7648, allocations: 475.5 kB / 0.6742 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.768, allocations: 1.131 MB / 0.6753 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004466/0.7685, allocations: 131.7 kB / 0.6754 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.7688, allocations: 80.03 kB / 0.6755 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.772, allocations: 1.009 MB / 0.6765 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.772, allocations: 1.844 kB / 0.6765 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.7721, allocations: 31.44 kB / 0.6765 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.7722, allocations: 19 kB / 0.6765 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/0.7752, allocations: 0.9209 MB / 0.6774 GB, free: 15.64 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.009095/0.7843, allocations: 4.901 MB / 0.6822 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.7882, allocations: 0.909 MB / 0.6831 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008801/0.7891, allocations: 323 kB / 0.6834 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007451/0.7899, allocations: 0.91 MB / 0.6843 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.7899, allocations: 45.72 kB / 0.6843 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.475e-06/0.79, allocations: 0 / 0.6843 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009952/0.7999, allocations: 2.169 MB / 0.6865 GB, free: 10 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.8, allocations: 56.62 kB / 0.6865 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.8027, allocations: 1.06 MB / 0.6875 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.8029, allocations: 37.89 kB / 0.6876 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000569/0.8035, allocations: 0.5227 MB / 0.6881 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.8037, allocations: 149.9 kB / 0.6882 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.8038, allocations: 47.91 kB / 0.6883 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8039, allocations: 325 kB / 0.6886 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.805, allocations: 332 kB / 0.6889 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.8064, allocations: 0.5259 MB / 0.6894 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.8084, allocations: 0.7344 MB / 0.6901 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.8085, allocations: 1.156 kB / 0.6901 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003501/0.812, allocations: 1.049 MB / 0.6912 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.8122, allocations: 215.1 kB / 0.6914 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.8122, allocations: 4.797 kB / 0.6914 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.8138, allocations: 335.6 kB / 0.6917 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/0.8145, allocations: 127 kB / 0.6918 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.8163, allocations: 0.9408 MB / 0.6927 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.8182, allocations: 193.5 kB / 0.6929 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.8184, allocations: 28.84 kB / 0.6929 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8184, allocations: 4.219 kB / 0.6929 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002855/0.8213, allocations: 0.9156 MB / 0.6938 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.8213, allocations: 4.156 kB / 0.6938 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.8226, allocations: 336.7 kB / 0.6942 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.8232, allocations: 130.8 kB / 0.6943 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.8249, allocations: 0.9391 MB / 0.6952 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.8265, allocations: 165.9 kB / 0.6954 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.8266, allocations: 28.05 kB / 0.6954 GB, free: 5.262 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.0008487/0.8275, allocations: 357.6 kB / 0.6957 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004202/0.8279, allocations: 111.7 kB / 0.6958 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/0.8325, allocations: 1.212 MB / 0.697 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.8325, allocations: 7.016 kB / 0.697 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.8325, allocations: 4 kB / 0.697 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.8325, allocations: 10.05 kB / 0.697 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/0.8392, allocations: 2.288 MB / 0.6993 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8393, allocations: 1.75 kB / 0.6993 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.8396, allocations: 76.41 kB / 0.6994 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.8408, allocations: 327.1 kB / 0.6997 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.8408, allocations: 16.66 kB / 0.6997 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.8425, allocations: 0.966 MB / 0.7006 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.8425, allocations: 2.938 kB / 0.7006 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004343/0.8468, allocations: 1.284 MB / 0.7019 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008509/0.8477, allocations: 285.6 kB / 0.7022 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/0.8481, allocations: 13.75 kB / 0.7022 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.8494, allocations: 118.3 kB / 0.7023 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8495, allocations: 40.33 kB / 0.7023 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/0.8496, allocations: 23.92 kB / 0.7023 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001873/0.8514, allocations: 0.7429 MB / 0.7031 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8515, allocations: 0 / 0.7031 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002648/0.8541, allocations: 0.5589 MB / 0.7036 GB, free: 1.316 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.001229/0.8554, allocations: 391 kB / 0.704 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003615/0.859, allocations: 1.173 MB / 0.7051 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.859, allocations: 1.031 kB / 0.7051 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.86, allocations: 377.6 kB / 0.7055 GB, free: 436 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/0.8635, allocations: 0.5065 MB / 0.706 GB, free: 180 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.8697, allocations: 2.532 MB / 0.7085 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.8705, allocations: 1.069 MB / 0.7095 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001199/0.8717, allocations: 217 kB / 0.7097 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.872, allocations: 79.23 kB / 0.7098 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of SimCode: time 9.31e-07/0.872, allocations: 0 / 0.7098 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.04393/0.9159, allocations: 24.08 MB / 0.7333 GB, free: 6.582 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)