Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 104.2 kB / 16.4 MB, free: 6.512 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.001295/0.001295, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.445/1.445, 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.886/0.886, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 76.44 kB / 0.5864 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1838, allocations: 80.93 MB / 0.6654 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06806/0.2518, allocations: 61.34 MB / 0.7253 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.2704, allocations: 12.02 MB / 0.737 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.2729, allocations: 59.62 kB / 0.7371 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.2751, allocations: 0.6986 MB / 0.7378 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006413/0.2815, allocations: 2.072 MB / 0.7398 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.2851, allocations: 1.21 MB / 0.741 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005292/0.2904, allocations: 3.105 MB / 0.744 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.2921, allocations: 0.9129 MB / 0.7449 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.2958, allocations: 1.379 MB / 0.7462 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.2976, allocations: 0.9023 MB / 0.7471 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.2978, allocations: 116 kB / 0.7472 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.3009, allocations: 1.439 MB / 0.7486 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4428/0.7437, allocations: 299.1 kB / 0.7489 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003046/0.7468, allocations: 0.702 MB / 0.7496 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008446/0.7552, allocations: 2.331 MB / 0.7519 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.7552, allocations: 1.625 kB / 0.7519 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7552, allocations: 1.188 kB / 0.7519 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.333e-05/0.7553, allocations: 0 / 0.7519 GB, free: 22.96 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00539/0.7607, allocations: 1.797 MB / 0.7536 GB, free: 22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.7607, allocations: 10.52 kB / 0.7537 GB, free: 22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/0.7639, allocations: 419.4 kB / 0.7541 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.767, allocations: 1.177 MB / 0.7552 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.7671, allocations: 65 kB / 0.7553 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.7672, allocations: 80.47 kB / 0.7553 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.77, allocations: 1.021 MB / 0.7563 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.7701, allocations: 7.062 kB / 0.7564 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.7702, allocations: 30.66 kB / 0.7564 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.7702, allocations: 23.75 kB / 0.7564 GB, free: 21.33 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.7729, allocations: 0.8812 MB / 0.7573 GB, free: 21.32 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.008006/0.7809, allocations: 5.248 MB / 0.7624 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/0.7848, allocations: 0.7664 MB / 0.7631 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.7858, allocations: 293.4 kB / 0.7634 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.7864, allocations: 0.9073 MB / 0.7643 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.7864, allocations: 39.47 kB / 0.7643 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.285e-06/0.7864, allocations: 0 / 0.7643 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.00947/0.7959, allocations: 1.899 MB / 0.7662 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.7959, allocations: 55.81 kB / 0.7662 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.7986, allocations: 1.083 MB / 0.7673 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.7988, allocations: 37.08 kB / 0.7673 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.7993, allocations: 0.5432 MB / 0.7679 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.7995, allocations: 167.3 kB / 0.768 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.7999, allocations: 141.2 kB / 0.7682 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.7999, allocations: 326.1 kB / 0.7685 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.801, allocations: 321.7 kB / 0.7688 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.8022, allocations: 0.5533 MB / 0.7693 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.8042, allocations: 0.7541 MB / 0.7701 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.8042, allocations: 4.781 kB / 0.7701 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004264/0.8084, allocations: 1.168 MB / 0.7712 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.8085, allocations: 8.094 kB / 0.7712 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.8085, allocations: 4.375 kB / 0.7712 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.8099, allocations: 306.4 kB / 0.7715 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.8105, allocations: 132.2 kB / 0.7716 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.8121, allocations: 0.8964 MB / 0.7725 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.8139, allocations: 168.9 kB / 0.7727 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.814, allocations: 30.61 kB / 0.7727 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001702/0.8157, allocations: 0.5234 MB / 0.7732 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001183/0.8169, allocations: 0.5487 MB / 0.7737 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001826/0.8187, allocations: 0.7398 MB / 0.7745 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-05/0.8188, allocations: 1.562 kB / 0.7745 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.00421/0.823, allocations: 1.167 MB / 0.7756 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.823, allocations: 12.16 kB / 0.7756 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.823, allocations: 4.594 kB / 0.7756 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.8241, allocations: 295.3 kB / 0.7759 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.8248, allocations: 139.1 kB / 0.776 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.8261, allocations: 0.8986 MB / 0.7769 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.8277, allocations: 143.2 kB / 0.7771 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.8278, allocations: 29.53 kB / 0.7771 GB, free: 13.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0003122/0.8281, allocations: 220.7 kB / 0.7773 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/0.8286, allocations: 121.6 kB / 0.7774 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.8327, allocations: 1.12 MB / 0.7785 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.8327, allocations: 8.516 kB / 0.7785 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8328, allocations: 4 kB / 0.7785 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.8328, allocations: 7.609 kB / 0.7785 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006164/0.8389, allocations: 2.191 MB / 0.7807 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.8389, allocations: 3 kB / 0.7807 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.8393, allocations: 70.38 kB / 0.7807 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.8403, allocations: 300.1 kB / 0.781 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/0.8403, allocations: 15.88 kB / 0.781 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.8417, allocations: 0.9288 MB / 0.7819 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8418, allocations: 7.203 kB / 0.7819 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.8456, allocations: 1.193 MB / 0.7831 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007264/0.8463, allocations: 276.7 kB / 0.7834 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/0.8467, allocations: 10.52 kB / 0.7834 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.8477, allocations: 76 kB / 0.7835 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.8479, allocations: 40.45 kB / 0.7835 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/0.8479, allocations: 26.33 kB / 0.7835 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001482/0.8494, allocations: 0.7542 MB / 0.7843 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8494, allocations: 0 / 0.7843 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002577/0.852, allocations: 0.578 MB / 0.7848 GB, free: 11.37 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.001158/0.8531, allocations: 383.4 kB / 0.7852 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003665/0.8568, allocations: 1.146 MB / 0.7863 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.8568, allocations: 0 / 0.7863 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009948/0.8578, allocations: 348.7 kB / 0.7866 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/0.861, allocations: 0.5008 MB / 0.7871 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/0.8667, allocations: 2.1 MB / 0.7892 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.8674, allocations: 1.064 MB / 0.7902 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.8677, allocations: 84.78 kB / 0.7903 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of SimCode: time 1.663e-06/0.8677, allocations: 3.938 kB / 0.7903 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of Templates: time 0.03531/0.903, allocations: 24.5 MB / 0.8142 GB, free: 10.16 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)