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.001181/0.001181, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001208/0.001208, allocations: 187 kB / 17.34 MB, free: 5.734 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7483/0.7483, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 66.78 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1362, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.0563/0.1925, allocations: 61.21 MB / 0.7251 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.2084, allocations: 11.97 MB / 0.7368 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.2106, allocations: 55.69 kB / 0.7368 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.2128, allocations: 0.6752 MB / 0.7375 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.2182, allocations: 1.963 MB / 0.7394 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.2214, allocations: 1.205 MB / 0.7406 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004203/0.2256, allocations: 3.082 MB / 0.7436 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.2272, allocations: 1.111 MB / 0.7447 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/0.2303, allocations: 1.337 MB / 0.746 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.232, allocations: 0.8945 MB / 0.7469 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.2323, allocations: 116 kB / 0.747 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.2352, allocations: 1.458 MB / 0.7484 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.2356, allocations: 298.8 kB / 0.7487 GB, free: 120 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3282/0.5638, allocations: 0.6823 MB / 0.7494 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.568, allocations: 2.314 MB / 0.7516 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.568, allocations: 1.344 kB / 0.7516 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5681, allocations: 0 / 0.7516 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.5681, allocations: 2.625 kB / 0.7516 GB, free: 23.23 MB / 0.5762 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.003007/0.5711, allocations: 1.728 MB / 0.7533 GB, free: 22.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5711, allocations: 10.7 kB / 0.7533 GB, free: 22.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.5732, allocations: 410 kB / 0.7537 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.5753, allocations: 1.16 MB / 0.7548 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.5754, allocations: 63.22 kB / 0.7549 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.5755, allocations: 77.75 kB / 0.755 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.5775, allocations: 1.006 MB / 0.756 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.5776, allocations: 0.9062 kB / 0.756 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.5777, allocations: 31.64 kB / 0.756 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.5777, allocations: 20.28 kB / 0.756 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.5799, allocations: 0.8663 MB / 0.7568 GB, free: 21.72 MB / 0.5762 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.006706/0.5866, allocations: 5.218 MB / 0.7619 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.5901, allocations: 0.7848 MB / 0.7627 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.5909, allocations: 304.2 kB / 0.763 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/0.5914, allocations: 0.9076 MB / 0.7639 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5914, allocations: 38.11 kB / 0.7639 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.575e-06/0.5914, allocations: 2.625 kB / 0.7639 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008101/0.5995, allocations: 1.864 MB / 0.7657 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.5996, allocations: 56.69 kB / 0.7658 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.6013, allocations: 1.077 MB / 0.7669 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.6014, allocations: 36.86 kB / 0.7669 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.6018, allocations: 0.5316 MB / 0.7674 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.6019, allocations: 152.3 kB / 0.7676 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.6021, allocations: 137.3 kB / 0.7677 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.6022, allocations: 332.1 kB / 0.768 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008511/0.6031, allocations: 306.3 kB / 0.7683 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009676/0.6041, allocations: 0.5347 MB / 0.7688 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.6056, allocations: 0.7093 MB / 0.7695 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.6056, allocations: 1.844 kB / 0.7695 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00348/0.6091, allocations: 1.146 MB / 0.7706 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6091, allocations: 11.12 kB / 0.7706 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6092, allocations: 5.031 kB / 0.7706 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.6103, allocations: 313.5 kB / 0.7709 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.6108, allocations: 132.2 kB / 0.7711 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.6121, allocations: 0.8995 MB / 0.7719 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.6133, allocations: 150.7 kB / 0.7721 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/0.6134, allocations: 34.34 kB / 0.7721 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001128/0.6146, allocations: 0.5088 MB / 0.7726 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008853/0.6155, allocations: 0.5254 MB / 0.7731 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001457/0.6169, allocations: 0.7132 MB / 0.7738 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.474e-06/0.617, allocations: 4.938 kB / 0.7738 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003259/0.6202, allocations: 1.131 MB / 0.7749 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6203, allocations: 12.31 kB / 0.775 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.6203, allocations: 4.812 kB / 0.775 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000995/0.6213, allocations: 301.5 kB / 0.7752 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.6218, allocations: 126 kB / 0.7754 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.6229, allocations: 0.8969 MB / 0.7762 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.6242, allocations: 143.2 kB / 0.7764 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/0.6243, allocations: 31.88 kB / 0.7764 GB, free: 13.88 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.000195/0.6245, allocations: 217.1 kB / 0.7766 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.6247, allocations: 115.8 kB / 0.7767 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.6281, allocations: 1.101 MB / 0.7778 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.6281, allocations: 7.922 kB / 0.7778 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.6282, allocations: 0.875 kB / 0.7778 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6282, allocations: 1.922 kB / 0.7778 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004852/0.633, allocations: 2.178 MB / 0.7799 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.633, allocations: 1.375 kB / 0.7799 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.6333, allocations: 66.42 kB / 0.78 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008725/0.6342, allocations: 294.8 kB / 0.7803 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.6343, allocations: 15.33 kB / 0.7803 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.6355, allocations: 0.9349 MB / 0.7812 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6355, allocations: 4.938 kB / 0.7812 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.6388, allocations: 1.17 MB / 0.7824 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.6392, allocations: 270.6 kB / 0.7826 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.6395, allocations: 10.75 kB / 0.7826 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/0.6403, allocations: 79.64 kB / 0.7827 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.6404, allocations: 34.05 kB / 0.7827 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.6404, allocations: 22.34 kB / 0.7828 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001135/0.6416, allocations: 0.7597 MB / 0.7835 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6416, allocations: 0 / 0.7835 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001743/0.6433, allocations: 0.571 MB / 0.7841 GB, free: 11.87 MB / 0.5762 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.0009341/0.6443, allocations: 388.8 kB / 0.7844 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002901/0.6472, allocations: 1.135 MB / 0.7855 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6472, allocations: 1.5 kB / 0.7855 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000789/0.648, allocations: 351.7 kB / 0.7859 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.6501, allocations: 0.5097 MB / 0.7864 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.6546, allocations: 2.048 MB / 0.7884 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.6551, allocations: 1.057 MB / 0.7894 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.6553, allocations: 82.95 kB / 0.7895 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.6553, allocations: 3.562 kB / 0.7895 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.02636/0.6817, allocations: 24.18 MB / 0.8131 GB, free: 11.1 MB / 0.5919 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)