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.006498/0.006498, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001251/0.001251, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7801/0.7801, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 75.06 kB / 0.5814 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2109, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06201/0.273, allocations: 61.25 MB / 0.7195 GB, free: 36 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01763/0.2907, allocations: 11.99 MB / 0.7312 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.2937, allocations: 59.62 kB / 0.7313 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.2961, allocations: 0.6986 MB / 0.732 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00688/0.3031, allocations: 2.07 MB / 0.734 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.3069, allocations: 1.216 MB / 0.7352 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005703/0.3126, allocations: 3.109 MB / 0.7382 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.3147, allocations: 1.1 MB / 0.7393 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.3187, allocations: 1.379 MB / 0.7406 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.3205, allocations: 0.91 MB / 0.7415 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.3208, allocations: 120 kB / 0.7416 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003512/0.3243, allocations: 1.435 MB / 0.743 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.3247, allocations: 298.8 kB / 0.7433 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.3257, allocations: 0.6997 MB / 0.744 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003832/0.3296, allocations: 2.314 MB / 0.7463 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3296, allocations: 4 kB / 0.7463 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3296, allocations: 0 / 0.7463 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.3296, allocations: 4 kB / 0.7463 GB, free: 4.543 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.003186/0.3328, allocations: 1.756 MB / 0.748 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3329, allocations: 12.03 kB / 0.748 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.335, allocations: 414.6 kB / 0.7484 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.3372, allocations: 1.155 MB / 0.7495 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.3372, allocations: 66 kB / 0.7496 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3374, allocations: 80 kB / 0.7497 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.3394, allocations: 1.021 MB / 0.7507 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3394, allocations: 4 kB / 0.7507 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.3395, allocations: 32 kB / 0.7507 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.3396, allocations: 20 kB / 0.7507 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.3418, allocations: 0.8897 MB / 0.7516 GB, free: 14.93 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.006406/0.3482, allocations: 5.244 MB / 0.7567 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/0.3516, allocations: 0.7851 MB / 0.7575 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007533/0.3524, allocations: 304.6 kB / 0.7578 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/0.353, allocations: 0.9141 MB / 0.7587 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.3531, allocations: 38.56 kB / 0.7587 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.575e-06/0.3531, allocations: 0 / 0.7587 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.008391/0.3615, allocations: 1.888 MB / 0.7605 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3616, allocations: 55.41 kB / 0.7606 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.3632, allocations: 1.076 MB / 0.7616 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.688e-05/0.3633, allocations: 45.64 kB / 0.7617 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.3637, allocations: 0.5428 MB / 0.7622 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.3639, allocations: 157.7 kB / 0.7624 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.3641, allocations: 138.2 kB / 0.7625 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3642, allocations: 329.9 kB / 0.7628 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009079/0.3651, allocations: 319.2 kB / 0.7631 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.3662, allocations: 0.5502 MB / 0.7636 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.3679, allocations: 0.7551 MB / 0.7644 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3679, allocations: 0 / 0.7644 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003602/0.3715, allocations: 1.161 MB / 0.7655 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.3716, allocations: 15.92 kB / 0.7655 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3716, allocations: 8.062 kB / 0.7655 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.3728, allocations: 312.5 kB / 0.7658 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.3734, allocations: 135.8 kB / 0.766 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.3747, allocations: 0.8988 MB / 0.7668 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.376, allocations: 159.2 kB / 0.767 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.3761, allocations: 35.92 kB / 0.767 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.3773, allocations: 0.5213 MB / 0.7675 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00107/0.3784, allocations: 0.5502 MB / 0.7681 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001657/0.3801, allocations: 0.7339 MB / 0.7688 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/0.3801, allocations: 3.938 kB / 0.7688 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003514/0.3836, allocations: 1.157 MB / 0.7699 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3836, allocations: 14.41 kB / 0.7699 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3836, allocations: 4 kB / 0.7699 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.3847, allocations: 300.6 kB / 0.7702 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.3853, allocations: 135.8 kB / 0.7704 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.3866, allocations: 0.8957 MB / 0.7712 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.3879, allocations: 139.5 kB / 0.7714 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.3879, allocations: 31.98 kB / 0.7714 GB, free: 9.531 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.0002485/0.3882, allocations: 224.1 kB / 0.7716 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.3884, allocations: 114.6 kB / 0.7717 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/0.3922, allocations: 1.122 MB / 0.7728 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.3922, allocations: 8 kB / 0.7728 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3922, allocations: 0 / 0.7728 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.3922, allocations: 3.938 kB / 0.7728 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00514/0.3974, allocations: 2.2 MB / 0.775 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/0.3974, allocations: 4 kB / 0.775 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.3977, allocations: 72.16 kB / 0.7751 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000961/0.3987, allocations: 304.5 kB / 0.7753 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.3987, allocations: 12 kB / 0.7754 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.4001, allocations: 0.923 MB / 0.7763 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4001, allocations: 4.031 kB / 0.7763 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/0.4039, allocations: 1.197 MB / 0.7774 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.4044, allocations: 271.5 kB / 0.7777 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.4046, allocations: 12 kB / 0.7777 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008273/0.4054, allocations: 75.91 kB / 0.7778 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4055, allocations: 39.89 kB / 0.7778 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.4056, allocations: 23.98 kB / 0.7778 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001207/0.4068, allocations: 0.7553 MB / 0.7786 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.653e-06/0.4068, allocations: 3.938 kB / 0.7786 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001519/0.4083, allocations: 0.5769 MB / 0.7791 GB, free: 1.414 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.0007908/0.4091, allocations: 386.9 kB / 0.7795 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003335/0.4125, allocations: 1.179 MB / 0.7807 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4125, allocations: 0 / 0.7807 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009159/0.4134, allocations: 362.5 kB / 0.781 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.4157, allocations: 0.5067 MB / 0.7815 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/0.4209, allocations: 2.031 MB / 0.7835 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.4216, allocations: 1.065 MB / 0.7845 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008445/0.4224, allocations: 230.4 kB / 0.7847 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.4226, allocations: 79.42 kB / 0.7848 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of SimCode: time 1.062e-06/0.4226, allocations: 4 kB / 0.7848 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.04014/0.4628, allocations: 25.38 MB / 0.8096 GB, free: 2.48 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)