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.001447/0.001447, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001773/0.001773, allocations: 194.3 kB / 16.25 MB, free: 6.633 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9868/0.9868, allocations: 135.1 MB / 425.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.28 kB / 0.5049 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1856, allocations: 80.93 MB / 0.5839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3605/0.5461, allocations: 60.72 MB / 0.6432 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01328/0.5595, allocations: 11.91 MB / 0.6548 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.562, allocations: 52.75 kB / 0.6549 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.5638, allocations: 0.5829 MB / 0.6554 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.5689, allocations: 1.826 MB / 0.6572 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.5718, allocations: 1.101 MB / 0.6583 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003999/0.5759, allocations: 3.114 MB / 0.6613 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.5776, allocations: 1.119 MB / 0.6624 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.581, allocations: 1.338 MB / 0.6637 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.5826, allocations: 0.9409 MB / 0.6647 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.5829, allocations: 117 kB / 0.6648 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.5859, allocations: 1.449 MB / 0.6662 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.5862, allocations: 294.8 kB / 0.6665 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008935/0.5871, allocations: 0.7088 MB / 0.6672 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006029/0.5932, allocations: 2.3 MB / 0.6694 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.5932, allocations: 4 kB / 0.6694 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.875e-06/0.5932, allocations: 0.5625 kB / 0.6694 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.5932, allocations: 5.188 kB / 0.6694 GB, free: 1.602 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.003541/0.5968, allocations: 1.751 MB / 0.6711 GB, free: 424 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.5968, allocations: 10.38 kB / 0.6711 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.5992, allocations: 409.2 kB / 0.6715 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.6016, allocations: 1.128 MB / 0.6726 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.602, allocations: 119.2 kB / 0.6727 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.6021, allocations: 86.94 kB / 0.6728 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.6044, allocations: 0.9925 MB / 0.6738 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.6045, allocations: 9.281 kB / 0.6738 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.6046, allocations: 32.28 kB / 0.6738 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.6046, allocations: 23.12 kB / 0.6739 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.6071, allocations: 0.888 MB / 0.6747 GB, free: 14.78 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.007581/0.6146, allocations: 4.862 MB / 0.6795 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/0.6182, allocations: 0.7948 MB / 0.6802 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.6191, allocations: 315.8 kB / 0.6805 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/0.6198, allocations: 0.916 MB / 0.6814 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.6198, allocations: 36.73 kB / 0.6815 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.414e-06/0.6199, allocations: 1.375 kB / 0.6815 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009232/0.6291, allocations: 1.957 MB / 0.6834 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.6292, allocations: 65 kB / 0.6834 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.6317, allocations: 1.052 MB / 0.6845 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.6318, allocations: 38.09 kB / 0.6845 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005684/0.6324, allocations: 0.5272 MB / 0.685 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.6325, allocations: 154.4 kB / 0.6852 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.6329, allocations: 127.9 kB / 0.6853 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.633, allocations: 334.1 kB / 0.6856 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009784/0.634, allocations: 316.5 kB / 0.6859 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.6352, allocations: 0.5258 MB / 0.6864 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.6371, allocations: 0.7109 MB / 0.6871 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.6371, allocations: 5.094 kB / 0.6871 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003235/0.6404, allocations: 1.012 MB / 0.6881 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6404, allocations: 8.172 kB / 0.6881 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.6404, allocations: 5.094 kB / 0.6881 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.6419, allocations: 313.4 kB / 0.6884 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.6425, allocations: 128.1 kB / 0.6886 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.6441, allocations: 0.9111 MB / 0.6894 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.6458, allocations: 181.4 kB / 0.6896 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.646, allocations: 28.59 kB / 0.6896 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001507/0.6475, allocations: 0.5216 MB / 0.6902 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00127/0.6488, allocations: 0.5238 MB / 0.6907 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001965/0.6507, allocations: 0.7021 MB / 0.6913 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.123e-05/0.6508, allocations: 0.9688 kB / 0.6913 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.00337/0.6541, allocations: 1.018 MB / 0.6923 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6542, allocations: 7.531 kB / 0.6923 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6542, allocations: 4.938 kB / 0.6924 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.6555, allocations: 309.1 kB / 0.6926 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.6561, allocations: 124.8 kB / 0.6928 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.6577, allocations: 0.9174 MB / 0.6937 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.6596, allocations: 162.9 kB / 0.6938 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.6598, allocations: 33.7 kB / 0.6939 GB, free: 3.613 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.0003765/0.6601, allocations: 215.7 kB / 0.6941 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/0.6606, allocations: 114.9 kB / 0.6942 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.665, allocations: 1.131 MB / 0.6953 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.665, allocations: 10.08 kB / 0.6953 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.6651, allocations: 2.344 kB / 0.6953 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6651, allocations: 1.969 kB / 0.6953 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007076/0.6722, allocations: 2.221 MB / 0.6975 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.6722, allocations: 2.438 kB / 0.6975 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.6726, allocations: 69.67 kB / 0.6975 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.6737, allocations: 301.7 kB / 0.6978 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.6738, allocations: 21.73 kB / 0.6978 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/0.6755, allocations: 0.94 MB / 0.6987 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.6755, allocations: 6.844 kB / 0.6988 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/0.6797, allocations: 1.212 MB / 0.6999 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/0.6806, allocations: 263.8 kB / 0.7002 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005069/0.6811, allocations: 9.078 kB / 0.7002 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.6826, allocations: 106.6 kB / 0.7003 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.6828, allocations: 39.47 kB / 0.7003 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/0.6829, allocations: 22.97 kB / 0.7004 GB, free: 432 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002173/0.685, allocations: 0.7444 MB / 0.7011 GB, free: 60 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.685, allocations: 0 / 0.7011 GB, free: 60 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002963/0.688, allocations: 0.5639 MB / 0.7016 GB, free: 15.93 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.001302/0.6893, allocations: 377.7 kB / 0.702 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003892/0.6932, allocations: 1.171 MB / 0.7031 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6933, allocations: 0 / 0.7031 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.6943, allocations: 369.1 kB / 0.7035 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/0.6977, allocations: 0.5188 MB / 0.704 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/0.7058, allocations: 2.456 MB / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.7068, allocations: 1.068 MB / 0.7074 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001371/0.7082, allocations: 214.9 kB / 0.7076 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.7085, allocations: 77.61 kB / 0.7077 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/0.7085, allocations: 0 / 0.7077 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.0454/0.7539, allocations: 24.77 MB / 0.7319 GB, free: 4.879 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)