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.001226/0.001225, allocations: 106.7 kB / 16.27 MB, free: 6.41 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.001166/0.001166, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8204/0.8204, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.91 kB / 0.506 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3759, allocations: 80.91 MB / 0.5851 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05821/0.4342, allocations: 61.25 MB / 0.6449 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01958/0.4538, allocations: 11.98 MB / 0.6566 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.4565, allocations: 59.62 kB / 0.6566 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.4591, allocations: 0.6908 MB / 0.6573 GB, free: 424 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006497/0.4657, allocations: 1.967 MB / 0.6592 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.4696, allocations: 1.19 MB / 0.6604 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005547/0.4752, allocations: 3.099 MB / 0.6634 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.4775, allocations: 1.112 MB / 0.6645 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/0.4815, allocations: 1.336 MB / 0.6658 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.4837, allocations: 0.9061 MB / 0.6667 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004838/0.4842, allocations: 116 kB / 0.6668 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.4879, allocations: 1.443 MB / 0.6682 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006223/0.4886, allocations: 290.9 kB / 0.6685 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.4903, allocations: 0.6997 MB / 0.6692 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005218/0.4955, allocations: 2.294 MB / 0.6714 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4955, allocations: 0 / 0.6714 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4956, allocations: 0 / 0.6714 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.599e-05/0.4956, allocations: 0 / 0.6714 GB, free: 1.902 MB / 0.4981 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.004531/0.5002, allocations: 1.75 MB / 0.6731 GB, free: 96 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.5002, allocations: 9.109 kB / 0.6731 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/0.5026, allocations: 410.8 kB / 0.6735 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.5052, allocations: 1.105 MB / 0.6746 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/0.5056, allocations: 121.9 kB / 0.6747 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.5057, allocations: 80 kB / 0.6748 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.508, allocations: 1.029 MB / 0.6758 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.508, allocations: 0 / 0.6758 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.5081, allocations: 39.98 kB / 0.6758 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.5081, allocations: 16 kB / 0.6758 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.5107, allocations: 0.8976 MB / 0.6767 GB, free: 12.29 MB / 0.5137 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.007702/0.5184, allocations: 5.29 MB / 0.6819 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/0.5221, allocations: 0.81 MB / 0.6827 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/0.5229, allocations: 316.6 kB / 0.683 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008764/0.5238, allocations: 0.9025 MB / 0.6839 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5239, allocations: 38.56 kB / 0.6839 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.594e-06/0.5239, allocations: 0 / 0.6839 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009026/0.5329, allocations: 1.961 MB / 0.6858 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.533, allocations: 63.36 kB / 0.6859 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.5348, allocations: 1.084 MB / 0.6869 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.537e-05/0.5349, allocations: 37.69 kB / 0.687 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/0.5354, allocations: 0.535 MB / 0.6875 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.5356, allocations: 153.8 kB / 0.6876 GB, free: 444 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.5358, allocations: 142.1 kB / 0.6878 GB, free: 296 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.536, allocations: 325.9 kB / 0.6881 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.537, allocations: 335.2 kB / 0.6884 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.5382, allocations: 0.558 MB / 0.6889 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.5402, allocations: 0.7466 MB / 0.6897 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5402, allocations: 8 kB / 0.6897 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003882/0.5441, allocations: 1.192 MB / 0.6908 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5441, allocations: 11.94 kB / 0.6909 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5441, allocations: 4 kB / 0.6909 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.5454, allocations: 324.7 kB / 0.6912 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.546, allocations: 135.8 kB / 0.6913 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.5477, allocations: 0.9113 MB / 0.6922 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.549, allocations: 163.1 kB / 0.6923 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/0.5491, allocations: 31.98 kB / 0.6924 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001361/0.5505, allocations: 0.5324 MB / 0.6929 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0012/0.5517, allocations: 0.5502 MB / 0.6934 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001834/0.5535, allocations: 0.7377 MB / 0.6942 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.923e-06/0.5536, allocations: 7.938 kB / 0.6942 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003888/0.5574, allocations: 1.188 MB / 0.6953 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5575, allocations: 8 kB / 0.6953 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5575, allocations: 8 kB / 0.6953 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.5587, allocations: 319 kB / 0.6956 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.5593, allocations: 131.8 kB / 0.6958 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.5609, allocations: 0.9075 MB / 0.6967 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.5622, allocations: 151.5 kB / 0.6968 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.5623, allocations: 27.98 kB / 0.6968 GB, free: 6.582 MB / 0.5294 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.0003007/0.5626, allocations: 228 kB / 0.697 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.563, allocations: 110.6 kB / 0.6971 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/0.5672, allocations: 1.133 MB / 0.6983 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.5673, allocations: 4 kB / 0.6983 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.5673, allocations: 0 / 0.6983 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5673, allocations: 7.922 kB / 0.6983 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005991/0.5733, allocations: 2.214 MB / 0.7004 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.5733, allocations: 4.281 kB / 0.7004 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.5737, allocations: 71.88 kB / 0.7005 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.5748, allocations: 311 kB / 0.7008 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.5749, allocations: 11.98 kB / 0.7008 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.5767, allocations: 0.9387 MB / 0.7017 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5767, allocations: 4 kB / 0.7017 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/0.5808, allocations: 1.208 MB / 0.7029 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/0.5814, allocations: 263.5 kB / 0.7032 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.5816, allocations: 12 kB / 0.7032 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008361/0.5825, allocations: 79.84 kB / 0.7032 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5826, allocations: 43.88 kB / 0.7033 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.5827, allocations: 27.98 kB / 0.7033 GB, free: 15.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001267/0.5839, allocations: 0.7669 MB / 0.7041 GB, free: 14.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.584, allocations: 0 / 0.7041 GB, free: 14.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001624/0.5856, allocations: 0.5731 MB / 0.7046 GB, free: 14.39 MB / 0.545 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.0008264/0.5864, allocations: 388.5 kB / 0.705 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003613/0.59, allocations: 1.202 MB / 0.7062 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5901, allocations: 4 kB / 0.7062 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.5911, allocations: 367.1 kB / 0.7065 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.5934, allocations: 0.5089 MB / 0.707 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.5991, allocations: 2.113 MB / 0.7091 GB, free: 9.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/0.5999, allocations: 1.061 MB / 0.7101 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.6002, allocations: 87.41 kB / 0.7102 GB, free: 8.625 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/0.6002, allocations: 4 kB / 0.7102 GB, free: 8.621 MB / 0.545 GB Notification: Performance of Templates: time 0.0355/0.6357, allocations: 24.3 MB / 0.7339 GB, free: 0.4922 MB / 0.5606 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)