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.0008157/0.0008155, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.01042/0.01042, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 12 kB / 0.5076 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1882, allocations: 82.3 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.4379/0.6261, allocations: 59.77 MB / 0.6463 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.6423, allocations: 11.91 MB / 0.658 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.645, allocations: 52.62 kB / 0.658 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.6469, allocations: 0.5527 MB / 0.6586 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006312/0.6532, allocations: 1.802 MB / 0.6603 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.6562, allocations: 1.088 MB / 0.6614 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005183/0.6614, allocations: 3.916 MB / 0.6652 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.6632, allocations: 0.9089 MB / 0.6661 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/0.6663, allocations: 1.127 MB / 0.6672 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.668, allocations: 0.8621 MB / 0.668 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.6681, allocations: 42.22 kB / 0.6681 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.6714, allocations: 1.33 MB / 0.6694 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.6717, allocations: 211.1 kB / 0.6696 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.6727, allocations: 0.6377 MB / 0.6702 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004831/0.6776, allocations: 2.204 MB / 0.6724 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6776, allocations: 1.312 kB / 0.6724 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.557e-06/0.6776, allocations: 0 / 0.6724 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.019e-05/0.6777, allocations: 0 / 0.6724 GB, free: 2.242 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.003648/0.6813, allocations: 1.516 MB / 0.6738 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.6814, allocations: 12.56 kB / 0.6738 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.6838, allocations: 472.3 kB / 0.6743 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.6865, allocations: 1.136 MB / 0.6754 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004049/0.687, allocations: 132.1 kB / 0.6755 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.6871, allocations: 79.25 kB / 0.6756 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.6897, allocations: 1.025 MB / 0.6766 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.6898, allocations: 1.031 kB / 0.6766 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.6899, allocations: 32.91 kB / 0.6766 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.6899, allocations: 19.38 kB / 0.6767 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/0.6928, allocations: 0.9581 MB / 0.6776 GB, free: 15.56 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.008338/0.7011, allocations: 4.924 MB / 0.6824 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.705, allocations: 0.9047 MB / 0.6833 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009411/0.706, allocations: 341.5 kB / 0.6836 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007537/0.7067, allocations: 0.9119 MB / 0.6845 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.7068, allocations: 42.2 kB / 0.6845 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/0.7068, allocations: 3.938 kB / 0.6845 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.01019/0.717, allocations: 2.213 MB / 0.6867 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.7171, allocations: 60.86 kB / 0.6868 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.7192, allocations: 1.053 MB / 0.6878 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.7194, allocations: 39.38 kB / 0.6878 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005013/0.7199, allocations: 0.5347 MB / 0.6884 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.7201, allocations: 154.5 kB / 0.6885 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.7202, allocations: 51.98 kB / 0.6886 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7203, allocations: 326 kB / 0.6889 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.7214, allocations: 344.5 kB / 0.6892 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.7227, allocations: 0.5548 MB / 0.6897 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.7248, allocations: 0.7745 MB / 0.6905 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/0.7248, allocations: 5.438 kB / 0.6905 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003411/0.7282, allocations: 1.085 MB / 0.6916 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.7284, allocations: 219 kB / 0.6918 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.7284, allocations: 3.75 kB / 0.6918 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.7299, allocations: 339.6 kB / 0.6921 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.7306, allocations: 140.7 kB / 0.6922 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.7323, allocations: 0.944 MB / 0.6931 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.7341, allocations: 200.5 kB / 0.6933 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/0.7342, allocations: 30.03 kB / 0.6934 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7342, allocations: 3.031 kB / 0.6934 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002896/0.7371, allocations: 0.9586 MB / 0.6943 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7372, allocations: 4.156 kB / 0.6943 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.7384, allocations: 329.2 kB / 0.6946 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.739, allocations: 140.4 kB / 0.6948 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.7405, allocations: 0.9375 MB / 0.6957 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.7422, allocations: 181.4 kB / 0.6958 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.7423, allocations: 26.64 kB / 0.6959 GB, free: 5.098 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.0007958/0.7431, allocations: 355.1 kB / 0.6962 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.7433, allocations: 111.2 kB / 0.6963 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.7476, allocations: 1.247 MB / 0.6975 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.7477, allocations: 6.203 kB / 0.6975 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.7477, allocations: 5.703 kB / 0.6975 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.7477, allocations: 2.438 kB / 0.6975 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006111/0.7538, allocations: 2.331 MB / 0.6998 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.7539, allocations: 2.406 kB / 0.6998 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.7542, allocations: 81.92 kB / 0.6999 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.7554, allocations: 328.2 kB / 0.7002 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.7554, allocations: 17.69 kB / 0.7002 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.757, allocations: 0.9668 MB / 0.7012 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.757, allocations: 8.469 kB / 0.7012 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.7614, allocations: 1.32 MB / 0.7025 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008442/0.7622, allocations: 281.5 kB / 0.7027 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.7624, allocations: 8.312 kB / 0.7028 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.7634, allocations: 124.5 kB / 0.7029 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7635, allocations: 41.02 kB / 0.7029 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.338e-05/0.7636, allocations: 26.89 kB / 0.7029 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001404/0.765, allocations: 0.7446 MB / 0.7037 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.765, allocations: 0 / 0.7037 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002072/0.7671, allocations: 0.5648 MB / 0.7042 GB, free: 1.016 MB / 0.5137 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.0008743/0.768, allocations: 371.8 kB / 0.7046 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003683/0.7717, allocations: 1.234 MB / 0.7058 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7717, allocations: 0 / 0.7058 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.7727, allocations: 393.8 kB / 0.7061 GB, free: 120 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.7759, allocations: 0.5081 MB / 0.7066 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/0.7818, allocations: 2.563 MB / 0.7091 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.7824, allocations: 1.072 MB / 0.7102 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001152/0.7836, allocations: 216.5 kB / 0.7104 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.7838, allocations: 75.48 kB / 0.7105 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.7838, allocations: 0 / 0.7105 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.04194/0.8258, allocations: 24.12 MB / 0.734 GB, free: 5.832 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)