Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.005586/0.005587, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001187/0.001187, allocations: 200.3 kB / 16.67 MB, free: 5.977 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8125/0.8125, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.62 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1826, allocations: 80.22 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06657/0.2492, allocations: 61.23 MB / 0.7195 GB, free: 28 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.2677, allocations: 12 MB / 0.7312 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.2708, allocations: 59.62 kB / 0.7313 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.2735, allocations: 0.687 MB / 0.732 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006629/0.2802, allocations: 2.08 MB / 0.734 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004512/0.2847, allocations: 1.213 MB / 0.7352 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005476/0.2902, allocations: 3.103 MB / 0.7382 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.2924, allocations: 1.112 MB / 0.7393 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.2964, allocations: 1.377 MB / 0.7406 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.2985, allocations: 0.9032 MB / 0.7415 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.2989, allocations: 116 kB / 0.7416 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.3025, allocations: 1.435 MB / 0.743 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005571/0.3031, allocations: 302.8 kB / 0.7433 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.3047, allocations: 0.7036 MB / 0.744 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.3097, allocations: 2.314 MB / 0.7463 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3097, allocations: 0 / 0.7463 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3097, allocations: 0 / 0.7463 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.592e-05/0.3098, allocations: 4 kB / 0.7463 GB, free: 4.527 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.004822/0.3146, allocations: 1.746 MB / 0.748 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.3147, allocations: 16.02 kB / 0.748 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.3171, allocations: 410.6 kB / 0.7484 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.3203, allocations: 1.171 MB / 0.7495 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/0.3204, allocations: 62 kB / 0.7496 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.3206, allocations: 84 kB / 0.7497 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.3229, allocations: 1.009 MB / 0.7507 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.3229, allocations: 7.938 kB / 0.7507 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.323, allocations: 36 kB / 0.7507 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.323, allocations: 20 kB / 0.7507 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.3253, allocations: 0.8897 MB / 0.7516 GB, free: 14.91 MB / 0.5919 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.006826/0.3322, allocations: 5.24 MB / 0.7567 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.3354, allocations: 0.7842 MB / 0.7575 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/0.3362, allocations: 316 kB / 0.7578 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.3369, allocations: 0.9064 MB / 0.7587 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.337, allocations: 38.56 kB / 0.7587 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.865e-06/0.337, allocations: 0 / 0.7587 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.008642/0.3456, allocations: 1.888 MB / 0.7605 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3457, allocations: 59.41 kB / 0.7606 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.3479, allocations: 1.072 MB / 0.7616 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.348, allocations: 37.7 kB / 0.7617 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.3486, allocations: 0.5467 MB / 0.7622 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.3489, allocations: 157.8 kB / 0.7624 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/0.3492, allocations: 134.2 kB / 0.7625 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3494, allocations: 333.9 kB / 0.7628 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009409/0.3503, allocations: 319.2 kB / 0.7631 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.3516, allocations: 0.554 MB / 0.7636 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.3538, allocations: 0.7512 MB / 0.7644 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3538, allocations: 0 / 0.7644 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004098/0.3579, allocations: 1.176 MB / 0.7655 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3579, allocations: 14.28 kB / 0.7655 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.358, allocations: 4.062 kB / 0.7655 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3592, allocations: 308.6 kB / 0.7658 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.3598, allocations: 139.8 kB / 0.766 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.3612, allocations: 0.9024 MB / 0.7669 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.3625, allocations: 155.2 kB / 0.767 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/0.3627, allocations: 35.92 kB / 0.767 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001261/0.3639, allocations: 0.5252 MB / 0.7676 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001071/0.365, allocations: 0.5424 MB / 0.7681 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001669/0.3667, allocations: 0.7338 MB / 0.7688 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.051e-05/0.3667, allocations: 3.938 kB / 0.7688 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.004012/0.3707, allocations: 1.153 MB / 0.7699 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3708, allocations: 4 kB / 0.7699 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.3708, allocations: 12.06 kB / 0.7699 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.372, allocations: 300.5 kB / 0.7702 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.3726, allocations: 139.8 kB / 0.7704 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.3742, allocations: 0.8918 MB / 0.7712 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.3758, allocations: 139.5 kB / 0.7714 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.3759, allocations: 39.97 kB / 0.7714 GB, free: 9.512 MB / 0.6075 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.0003265/0.3763, allocations: 220.1 kB / 0.7716 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.3767, allocations: 114.6 kB / 0.7717 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.3806, allocations: 1.121 MB / 0.7728 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.3807, allocations: 4 kB / 0.7728 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.3807, allocations: 8 kB / 0.7728 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3807, allocations: 7.922 kB / 0.7728 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005659/0.3864, allocations: 2.2 MB / 0.775 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.3864, allocations: 4 kB / 0.775 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.3867, allocations: 71.83 kB / 0.7751 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009582/0.3877, allocations: 292.8 kB / 0.7753 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.3877, allocations: 19.98 kB / 0.7754 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.3891, allocations: 0.9153 MB / 0.7763 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3891, allocations: 7.938 kB / 0.7763 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.3926, allocations: 1.201 MB / 0.7774 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/0.3932, allocations: 263.5 kB / 0.7777 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.3935, allocations: 8 kB / 0.7777 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008756/0.3944, allocations: 79.91 kB / 0.7778 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.3945, allocations: 35.89 kB / 0.7778 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.3945, allocations: 23.98 kB / 0.7778 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001317/0.3959, allocations: 0.7592 MB / 0.7786 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3959, allocations: 3.938 kB / 0.7786 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001779/0.3977, allocations: 0.5731 MB / 0.7791 GB, free: 1.406 MB / 0.6075 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.0008832/0.3985, allocations: 388.2 kB / 0.7795 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003297/0.4019, allocations: 1.183 MB / 0.7807 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.4019, allocations: 0 / 0.7807 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009117/0.4028, allocations: 358.6 kB / 0.781 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.4051, allocations: 0.5124 MB / 0.7815 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/0.4104, allocations: 2.028 MB / 0.7835 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.4111, allocations: 1.065 MB / 0.7845 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008766/0.412, allocations: 226.1 kB / 0.7847 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.4122, allocations: 83.41 kB / 0.7848 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/0.4122, allocations: 0 / 0.7848 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.04463/0.4568, allocations: 25.39 MB / 0.8096 GB, free: 2.465 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)