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.001278/0.001278, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001307/0.001307, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9577/0.9577, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 65.06 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1859, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3233/0.5093, allocations: 60.73 MB / 0.6438 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.522, allocations: 11.91 MB / 0.6554 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.524, allocations: 61.56 kB / 0.6555 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.5256, allocations: 0.5757 MB / 0.6561 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004411/0.5301, allocations: 1.823 MB / 0.6578 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.5324, allocations: 1.098 MB / 0.6589 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003095/0.5355, allocations: 3.12 MB / 0.662 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.5367, allocations: 1.122 MB / 0.663 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.5393, allocations: 1.342 MB / 0.6644 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.5405, allocations: 0.9342 MB / 0.6653 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.5407, allocations: 117.4 kB / 0.6654 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.5431, allocations: 1.446 MB / 0.6668 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.5434, allocations: 307 kB / 0.6671 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006179/0.544, allocations: 0.7065 MB / 0.6678 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.5471, allocations: 2.309 MB / 0.67 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5471, allocations: 1.406 kB / 0.67 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5471, allocations: 0 / 0.67 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.5471, allocations: 0 / 0.67 GB, free: 0.9922 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.002948/0.5501, allocations: 1.744 MB / 0.6717 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5501, allocations: 10.03 kB / 0.6717 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.5523, allocations: 411.7 kB / 0.6721 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.5544, allocations: 1.135 MB / 0.6732 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/0.5548, allocations: 115.8 kB / 0.6734 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.5549, allocations: 83.97 kB / 0.6734 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.557, allocations: 0.9999 MB / 0.6744 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.5571, allocations: 1.062 kB / 0.6744 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.5572, allocations: 31.97 kB / 0.6744 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.5572, allocations: 19.06 kB / 0.6745 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.5595, allocations: 0.8922 MB / 0.6753 GB, free: 14.18 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.006854/0.5664, allocations: 4.863 MB / 0.6801 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.5698, allocations: 0.8014 MB / 0.6809 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007871/0.5706, allocations: 315.4 kB / 0.6812 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007721/0.5713, allocations: 0.908 MB / 0.6821 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.5714, allocations: 37.58 kB / 0.6821 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.5714, allocations: 7.938 kB / 0.6821 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.008784/0.5802, allocations: 1.955 MB / 0.684 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5803, allocations: 63.77 kB / 0.6841 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.582, allocations: 1.049 MB / 0.6851 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/0.5821, allocations: 38.08 kB / 0.6851 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/0.5825, allocations: 0.5322 MB / 0.6856 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.5827, allocations: 153.6 kB / 0.6858 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.583, allocations: 132.1 kB / 0.6859 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5831, allocations: 326.3 kB / 0.6862 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009285/0.584, allocations: 316.8 kB / 0.6865 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.5852, allocations: 0.5252 MB / 0.687 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.587, allocations: 0.7075 MB / 0.6877 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.587, allocations: 8.781 kB / 0.6877 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003182/0.5902, allocations: 1.007 MB / 0.6887 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.5902, allocations: 6.656 kB / 0.6887 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.5903, allocations: 5.562 kB / 0.6887 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.5918, allocations: 322.2 kB / 0.689 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.5925, allocations: 125.5 kB / 0.6892 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.5942, allocations: 0.916 MB / 0.6901 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.5958, allocations: 176.1 kB / 0.6902 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.743e-05/0.5959, allocations: 29.89 kB / 0.6903 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001352/0.5973, allocations: 0.5248 MB / 0.6908 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001134/0.5984, allocations: 0.5234 MB / 0.6913 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001754/0.6002, allocations: 0.7028 MB / 0.692 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.6002, allocations: 1.5 kB / 0.692 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002828/0.6031, allocations: 1.01 MB / 0.693 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6031, allocations: 10.88 kB / 0.693 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6031, allocations: 8.281 kB / 0.693 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.6042, allocations: 309.2 kB / 0.6933 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.6048, allocations: 121.6 kB / 0.6934 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.6062, allocations: 0.9143 MB / 0.6943 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.6077, allocations: 164 kB / 0.6944 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.6078, allocations: 31.75 kB / 0.6945 GB, free: 3.012 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 (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.0003133/0.6081, allocations: 216.4 kB / 0.6947 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.6083, allocations: 114.1 kB / 0.6948 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/0.6122, allocations: 1.131 MB / 0.6959 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.6122, allocations: 11.28 kB / 0.6959 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6123, allocations: 0 / 0.6959 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.6123, allocations: 2.797 kB / 0.6959 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005508/0.6178, allocations: 2.224 MB / 0.6981 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.6178, allocations: 2.594 kB / 0.6981 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.6181, allocations: 70.61 kB / 0.6981 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.6192, allocations: 303.6 kB / 0.6984 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.6192, allocations: 17.02 kB / 0.6984 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.6207, allocations: 0.9455 MB / 0.6994 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6207, allocations: 2.75 kB / 0.6994 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.6245, allocations: 1.206 MB / 0.7005 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/0.6251, allocations: 266.6 kB / 0.7008 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.6252, allocations: 9.688 kB / 0.7008 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009019/0.6261, allocations: 103.5 kB / 0.7009 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.6263, allocations: 47.23 kB / 0.701 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.6263, allocations: 28.59 kB / 0.701 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001222/0.6275, allocations: 0.7384 MB / 0.7017 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6276, allocations: 0 / 0.7017 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001683/0.6292, allocations: 0.5651 MB / 0.7023 GB, free: 15.27 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 (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.0008789/0.6301, allocations: 378.4 kB / 0.7026 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003372/0.6335, allocations: 1.17 MB / 0.7038 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6335, allocations: 4.125 kB / 0.7038 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009553/0.6345, allocations: 368.3 kB / 0.7041 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.6367, allocations: 0.5009 MB / 0.7046 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.6421, allocations: 2.461 MB / 0.707 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.6428, allocations: 1.069 MB / 0.7081 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009687/0.6437, allocations: 223.2 kB / 0.7083 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.6439, allocations: 76.58 kB / 0.7083 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.6439, allocations: 0 / 0.7083 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.04249/0.6864, allocations: 24.76 MB / 0.7325 GB, free: 4.062 MB / 0.545 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)