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.001033/0.001033, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001311/0.001311, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 240 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7322/0.7322, allocations: 132.4 MB / 423.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002952, allocations: 8 kB / 0.5034 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3481, allocations: 81.58 MB / 0.5831 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05404/0.4022, allocations: 56.54 MB / 0.6383 GB, free: 7.984 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.4162, allocations: 11.22 MB / 0.6492 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.4179, allocations: 51.62 kB / 0.6493 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.4196, allocations: 464.8 kB / 0.6497 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.4237, allocations: 1.523 MB / 0.6512 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.4261, allocations: 0.87 MB / 0.6521 GB, free: 9.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003865/0.4299, allocations: 3.402 MB / 0.6554 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.4312, allocations: 0.8067 MB / 0.6562 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.4333, allocations: 1.05 MB / 0.6572 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.4346, allocations: 0.8127 MB / 0.658 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.4348, allocations: 44 kB / 0.658 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.4369, allocations: 1.091 MB / 0.6591 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.4372, allocations: 199 kB / 0.6593 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.4375, allocations: 285 kB / 0.6596 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.4393, allocations: 1.641 MB / 0.6612 GB, free: 484 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4393, allocations: 4 kB / 0.6612 GB, free: 480 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4393, allocations: 0 / 0.6612 GB, free: 480 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.4394, allocations: 7.938 kB / 0.6612 GB, free: 472 kB / 494.1 MB 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.002733/0.4421, allocations: 1.525 MB / 0.6627 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.4421, allocations: 8.031 kB / 0.6627 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.4442, allocations: 469.9 kB / 0.6631 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.4462, allocations: 1.097 MB / 0.6642 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/0.4466, allocations: 133.9 kB / 0.6643 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.4467, allocations: 84 kB / 0.6644 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.4488, allocations: 1.017 MB / 0.6654 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4488, allocations: 0 / 0.6654 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/0.4489, allocations: 32 kB / 0.6654 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.4489, allocations: 23.95 kB / 0.6655 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.4513, allocations: 0.9563 MB / 0.6664 GB, free: 10.97 MB / 0.4981 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.005989/0.4573, allocations: 4.914 MB / 0.6712 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/0.4606, allocations: 0.9019 MB / 0.6721 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/0.4613, allocations: 344.7 kB / 0.6724 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/0.4619, allocations: 0.9103 MB / 0.6733 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.462, allocations: 34.56 kB / 0.6733 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 3.326e-06/0.462, allocations: 0 / 0.6733 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008001/0.47, allocations: 2.208 MB / 0.6755 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.47, allocations: 59.36 kB / 0.6755 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.4716, allocations: 1.044 MB / 0.6766 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.4716, allocations: 45.7 kB / 0.6766 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.4721, allocations: 0.5274 MB / 0.6771 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.4722, allocations: 157.6 kB / 0.6773 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.4723, allocations: 12 kB / 0.6773 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4724, allocations: 326 kB / 0.6776 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009035/0.4733, allocations: 344.8 kB / 0.6779 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.4744, allocations: 0.5452 MB / 0.6784 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.4753, allocations: 379.5 kB / 0.6788 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.4753, allocations: 8 kB / 0.6788 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002618/0.4779, allocations: 1.078 MB / 0.6799 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.4781, allocations: 221.1 kB / 0.6801 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4781, allocations: 7.984 kB / 0.6801 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.4793, allocations: 328.7 kB / 0.6804 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.4799, allocations: 139.8 kB / 0.6805 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.4813, allocations: 0.9426 MB / 0.6815 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.4825, allocations: 200.7 kB / 0.6816 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.4826, allocations: 35.92 kB / 0.6817 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.4826, allocations: 8 kB / 0.6817 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002461/0.4851, allocations: 0.945 MB / 0.6826 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4851, allocations: 4.438 kB / 0.6826 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.4861, allocations: 320.5 kB / 0.6829 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.4867, allocations: 139.9 kB / 0.6831 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.488, allocations: 0.9376 MB / 0.684 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.4891, allocations: 183.1 kB / 0.6841 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.4892, allocations: 31.97 kB / 0.6842 GB, free: 7.887 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004465/0.4896, allocations: 349 kB / 0.6845 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4898, allocations: 110.6 kB / 0.6846 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/0.4934, allocations: 1.247 MB / 0.6858 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.4935, allocations: 7.984 kB / 0.6858 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4935, allocations: 0 / 0.6858 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4935, allocations: 0 / 0.6858 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/0.4984, allocations: 2.324 MB / 0.6881 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.4984, allocations: 7.938 kB / 0.6881 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.4987, allocations: 80.22 kB / 0.6882 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009484/0.4997, allocations: 322.6 kB / 0.6885 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.4997, allocations: 12 kB / 0.6885 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.5011, allocations: 0.9776 MB / 0.6895 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5011, allocations: 3.938 kB / 0.6895 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.5045, allocations: 1.302 MB / 0.6907 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.5049, allocations: 287.4 kB / 0.691 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.5051, allocations: 12 kB / 0.691 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/0.506, allocations: 123.8 kB / 0.6911 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.5061, allocations: 47.81 kB / 0.6912 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.5061, allocations: 23.98 kB / 0.6912 GB, free: 496 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001083/0.5072, allocations: 0.7315 MB / 0.6919 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5072, allocations: 0 / 0.6919 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001385/0.5086, allocations: 0.5613 MB / 0.6925 GB, free: 15.18 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006936/0.5093, allocations: 369.6 kB / 0.6928 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003139/0.5124, allocations: 1.222 MB / 0.694 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5125, allocations: 0 / 0.694 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009456/0.5134, allocations: 394.4 kB / 0.6944 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.5157, allocations: 0.4946 MB / 0.6949 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.5209, allocations: 2.522 MB / 0.6973 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.5215, allocations: 1.065 MB / 0.6984 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009181/0.5224, allocations: 223.6 kB / 0.6986 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.5226, allocations: 75.42 kB / 0.6987 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.5226, allocations: 4 kB / 0.6987 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of Templates: time 0.03693/0.5596, allocations: 23.2 MB / 0.7213 GB, free: 1.875 MB / 0.545 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)