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.001531/0.001536, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001331/0.001331, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8312/0.8312, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.375, allocations: 80.91 MB / 0.5858 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05034/0.4254, allocations: 61.24 MB / 0.6456 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.4425, allocations: 11.99 MB / 0.6573 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.4447, allocations: 55.69 kB / 0.6573 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.4466, allocations: 0.6791 MB / 0.658 GB, free: 432 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005062/0.4517, allocations: 1.966 MB / 0.6599 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.4545, allocations: 1.218 MB / 0.6611 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004044/0.4586, allocations: 3.1 MB / 0.6641 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.4601, allocations: 1.112 MB / 0.6652 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.4631, allocations: 1.342 MB / 0.6665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.4645, allocations: 0.8983 MB / 0.6674 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.4647, allocations: 116 kB / 0.6675 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.4673, allocations: 1.443 MB / 0.6689 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.4676, allocations: 290.8 kB / 0.6692 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007284/0.4683, allocations: 0.7075 MB / 0.6699 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002938/0.4713, allocations: 2.31 MB / 0.6722 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4713, allocations: 0 / 0.6722 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.4713, allocations: 0 / 0.6722 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.4713, allocations: 0 / 0.6722 GB, free: 1.859 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.002856/0.4742, allocations: 1.75 MB / 0.6739 GB, free: 52 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4742, allocations: 9.109 kB / 0.6739 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.4762, allocations: 411 kB / 0.6743 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.4784, allocations: 1.17 MB / 0.6754 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.4785, allocations: 62 kB / 0.6755 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.4786, allocations: 84 kB / 0.6755 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.4805, allocations: 1.021 MB / 0.6765 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4805, allocations: 3.938 kB / 0.6765 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.4806, allocations: 32 kB / 0.6766 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.4806, allocations: 20 kB / 0.6766 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.4827, allocations: 0.886 MB / 0.6775 GB, free: 12.25 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.006436/0.4892, allocations: 5.266 MB / 0.6826 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.4923, allocations: 0.7764 MB / 0.6834 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.493, allocations: 316.6 kB / 0.6837 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.4937, allocations: 0.9064 MB / 0.6845 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.4937, allocations: 38.56 kB / 0.6846 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.4937, allocations: 0 / 0.6846 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007444/0.5012, allocations: 1.891 MB / 0.6864 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.5012, allocations: 59.36 kB / 0.6865 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.5028, allocations: 1.084 MB / 0.6875 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.5029, allocations: 37.7 kB / 0.6876 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.5033, allocations: 0.5389 MB / 0.6881 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.5034, allocations: 153.8 kB / 0.6883 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.5036, allocations: 138.1 kB / 0.6884 GB, free: 388 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5038, allocations: 338 kB / 0.6887 GB, free: 44 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008685/0.5046, allocations: 315.3 kB / 0.689 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.5057, allocations: 0.5564 MB / 0.6896 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.5072, allocations: 0.7464 MB / 0.6903 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5073, allocations: 0 / 0.6903 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00334/0.5106, allocations: 1.172 MB / 0.6914 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.5106, allocations: 14.17 kB / 0.6914 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5107, allocations: 7.938 kB / 0.6914 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.5118, allocations: 304.6 kB / 0.6917 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.5123, allocations: 131.8 kB / 0.6919 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.5136, allocations: 0.8996 MB / 0.6927 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.5147, allocations: 159.3 kB / 0.6929 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.5148, allocations: 31.98 kB / 0.6929 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001126/0.5159, allocations: 0.5207 MB / 0.6934 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009665/0.5169, allocations: 0.554 MB / 0.694 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001509/0.5184, allocations: 0.7339 MB / 0.6947 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.5184, allocations: 0 / 0.6947 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003151/0.5216, allocations: 1.16 MB / 0.6958 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5216, allocations: 8 kB / 0.6958 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5216, allocations: 4 kB / 0.6958 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009468/0.5226, allocations: 309.8 kB / 0.6961 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.5231, allocations: 131.8 kB / 0.6963 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.5243, allocations: 0.8897 MB / 0.6971 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.5255, allocations: 147.5 kB / 0.6973 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/0.5255, allocations: 35.98 kB / 0.6973 GB, free: 6.816 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.0002136/0.5257, allocations: 220.9 kB / 0.6975 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.5259, allocations: 106.7 kB / 0.6976 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/0.5293, allocations: 1.123 MB / 0.6987 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.5293, allocations: 4.094 kB / 0.6987 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5293, allocations: 3.984 kB / 0.6987 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.5293, allocations: 7.984 kB / 0.6987 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/0.534, allocations: 2.203 MB / 0.7009 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.534, allocations: 3.938 kB / 0.7009 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.5343, allocations: 75.88 kB / 0.701 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008689/0.5352, allocations: 296.8 kB / 0.7012 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.5353, allocations: 12 kB / 0.7012 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.5365, allocations: 0.9296 MB / 0.7022 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5366, allocations: 4 kB / 0.7022 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003234/0.5398, allocations: 1.193 MB / 0.7033 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/0.5403, allocations: 267.5 kB / 0.7036 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.5404, allocations: 12 kB / 0.7036 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.5412, allocations: 75.91 kB / 0.7037 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.5413, allocations: 39.83 kB / 0.7037 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/0.5413, allocations: 23.98 kB / 0.7037 GB, free: 52 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001105/0.5424, allocations: 0.7592 MB / 0.7045 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5425, allocations: 0 / 0.7045 GB, free: 15.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001451/0.5439, allocations: 0.577 MB / 0.705 GB, free: 14.71 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.0007129/0.5446, allocations: 388 kB / 0.7054 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002995/0.5476, allocations: 1.179 MB / 0.7065 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5477, allocations: 4.188 kB / 0.7066 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.5485, allocations: 358.3 kB / 0.7069 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.5505, allocations: 0.5094 MB / 0.7074 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/0.5553, allocations: 2.03 MB / 0.7094 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/0.5561, allocations: 1.069 MB / 0.7104 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008714/0.557, allocations: 221.4 kB / 0.7106 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.5572, allocations: 79.42 kB / 0.7107 GB, free: 8.844 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.5572, allocations: 0 / 0.7107 GB, free: 8.844 MB / 0.545 GB Notification: Performance of Templates: time 0.04369/0.6009, allocations: 25.21 MB / 0.7353 GB, free: 15.89 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)