Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9542/0.9542, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001565, allocations: 56.38 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1833, allocations: 80.93 MB / 0.5843 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3585/0.5419, allocations: 60.79 MB / 0.6437 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.5562, allocations: 12.05 MB / 0.6555 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/0.559, allocations: 54.69 kB / 0.6555 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.5612, allocations: 0.5494 MB / 0.6561 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005805/0.567, allocations: 1.794 MB / 0.6578 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.5701, allocations: 1.079 MB / 0.6589 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005011/0.5751, allocations: 3.915 MB / 0.6627 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.5769, allocations: 0.9249 MB / 0.6636 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003268/0.5802, allocations: 1.15 MB / 0.6647 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.5823, allocations: 0.894 MB / 0.6656 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.5826, allocations: 60.59 kB / 0.6656 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.5862, allocations: 1.332 MB / 0.667 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.5866, allocations: 235.2 kB / 0.6672 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.5878, allocations: 0.6296 MB / 0.6678 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.5913, allocations: 1.725 MB / 0.6695 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5913, allocations: 0 / 0.6695 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.594e-06/0.5913, allocations: 1.656 kB / 0.6695 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.515e-05/0.5913, allocations: 0 / 0.6695 GB, free: 2.457 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005105/0.5965, allocations: 1.719 MB / 0.6712 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5965, allocations: 14.31 kB / 0.6712 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.5989, allocations: 405.3 kB / 0.6716 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.6015, allocations: 1.125 MB / 0.6727 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.6019, allocations: 119.9 kB / 0.6728 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.602, allocations: 84.16 kB / 0.6728 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.6043, allocations: 0.9796 MB / 0.6738 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.6043, allocations: 1.469 kB / 0.6738 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.6044, allocations: 34.97 kB / 0.6738 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.6044, allocations: 19.16 kB / 0.6739 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.607, allocations: 0.8636 MB / 0.6747 GB, free: 15.65 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.007939/0.6149, allocations: 4.85 MB / 0.6794 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003543/0.6185, allocations: 0.7939 MB / 0.6802 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/0.6193, allocations: 297.6 kB / 0.6805 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007303/0.6201, allocations: 0.9051 MB / 0.6814 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.6201, allocations: 45.58 kB / 0.6814 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.846e-06/0.6201, allocations: 0 / 0.6814 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009195/0.6293, allocations: 1.909 MB / 0.6833 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.6294, allocations: 55.38 kB / 0.6833 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.6314, allocations: 1.051 MB / 0.6844 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.6316, allocations: 37.42 kB / 0.6844 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/0.6321, allocations: 0.5232 MB / 0.6849 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.6322, allocations: 152.9 kB / 0.6851 GB, free: 9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.6325, allocations: 123.7 kB / 0.6852 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6326, allocations: 329.7 kB / 0.6855 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/0.6335, allocations: 304 kB / 0.6858 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.6346, allocations: 0.506 MB / 0.6863 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.6363, allocations: 0.6937 MB / 0.687 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6363, allocations: 1.922 kB / 0.687 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002928/0.6393, allocations: 0.9887 MB / 0.6879 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.6393, allocations: 6.938 kB / 0.6879 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.6393, allocations: 9.031 kB / 0.6879 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.6407, allocations: 310.5 kB / 0.6882 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.6413, allocations: 118.5 kB / 0.6883 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.6428, allocations: 0.9234 MB / 0.6892 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.6445, allocations: 171 kB / 0.6894 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/0.6446, allocations: 28.88 kB / 0.6894 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00133/0.6459, allocations: 0.5092 MB / 0.6899 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001105/0.647, allocations: 0.5028 MB / 0.6904 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001654/0.6487, allocations: 0.6684 MB / 0.6911 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.471e-06/0.6487, allocations: 2.766 kB / 0.6911 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002894/0.6516, allocations: 0.9815 MB / 0.692 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6516, allocations: 6.562 kB / 0.692 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6516, allocations: 5.969 kB / 0.6921 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.6528, allocations: 309.6 kB / 0.6923 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.6533, allocations: 119.2 kB / 0.6925 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.6548, allocations: 0.9002 MB / 0.6933 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.6564, allocations: 159.7 kB / 0.6935 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.6565, allocations: 31.02 kB / 0.6935 GB, free: 4.551 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 (51): * Single equations (assignments): 50 * 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.0002928/0.6568, allocations: 219.3 kB / 0.6937 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.657, allocations: 107.2 kB / 0.6938 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/0.6609, allocations: 1.102 MB / 0.6949 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.661, allocations: 10.94 kB / 0.6949 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.661, allocations: 0 / 0.6949 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.661, allocations: 3.172 kB / 0.6949 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005523/0.6665, allocations: 2.16 MB / 0.697 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.6665, allocations: 6.094 kB / 0.697 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.6668, allocations: 61.56 kB / 0.6971 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.6679, allocations: 305.8 kB / 0.6974 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.668, allocations: 16.69 kB / 0.6974 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.6695, allocations: 0.946 MB / 0.6983 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6695, allocations: 1.469 kB / 0.6983 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/0.6732, allocations: 1.168 MB / 0.6995 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/0.674, allocations: 263 kB / 0.6997 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.6742, allocations: 11.58 kB / 0.6997 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009196/0.6751, allocations: 105.6 kB / 0.6998 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6752, allocations: 35.23 kB / 0.6999 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.6753, allocations: 26.7 kB / 0.6999 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00133/0.6766, allocations: 0.7329 MB / 0.7006 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6766, allocations: 0 / 0.7006 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002017/0.6786, allocations: 0.5598 MB / 0.7012 GB, free: 0.7969 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 (33): * Single equations (assignments): 28 * 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.0009732/0.6796, allocations: 383.8 kB / 0.7015 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00315/0.6828, allocations: 1.097 MB / 0.7026 GB, free: 76 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6828, allocations: 1.531 kB / 0.7026 GB, free: 76 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009025/0.6837, allocations: 347.5 kB / 0.7029 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.6863, allocations: 499.8 kB / 0.7034 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.692, allocations: 2.459 MB / 0.7058 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.6927, allocations: 1.057 MB / 0.7068 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.693, allocations: 83.72 kB / 0.7069 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of SimCode: time 1.423e-06/0.693, allocations: 0 / 0.7069 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.03218/0.7252, allocations: 23.84 MB / 0.7302 GB, free: 7.098 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)