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.001077/0.001077, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001265/0.001265, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9654/0.9654, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.03 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1732, allocations: 80.92 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3531/0.5264, allocations: 60.79 MB / 0.6431 GB, free: 17.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.5393, allocations: 12.05 MB / 0.6548 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.5417, allocations: 55.12 kB / 0.6549 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.5437, allocations: 0.5483 MB / 0.6554 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005494/0.5492, allocations: 1.798 MB / 0.6572 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.5521, allocations: 1.078 MB / 0.6582 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004826/0.5569, allocations: 3.903 MB / 0.662 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.5591, allocations: 0.9305 MB / 0.663 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.5629, allocations: 1.151 MB / 0.6641 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003377/0.5663, allocations: 0.8979 MB / 0.665 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005046/0.5668, allocations: 55.5 kB / 0.665 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004681/0.5715, allocations: 1.33 MB / 0.6663 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005536/0.5721, allocations: 244.5 kB / 0.6665 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.5735, allocations: 0.6256 MB / 0.6672 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.5786, allocations: 2.237 MB / 0.6693 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.5786, allocations: 9.125 kB / 0.6693 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.537e-06/0.5786, allocations: 0 / 0.6693 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.706e-05/0.5787, allocations: 3.938 kB / 0.6693 GB, free: 2.156 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.006194/0.5849, allocations: 1.712 MB / 0.671 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.057e-05/0.585, allocations: 8.625 kB / 0.671 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/0.5876, allocations: 410.5 kB / 0.6714 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.5903, allocations: 1.13 MB / 0.6725 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/0.5907, allocations: 123.7 kB / 0.6726 GB, free: 152 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.5908, allocations: 79.25 kB / 0.6727 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.5932, allocations: 0.9834 MB / 0.6737 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.5932, allocations: 6.016 kB / 0.6737 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.403e-05/0.5933, allocations: 35.25 kB / 0.6737 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.5933, allocations: 19.03 kB / 0.6737 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.5959, allocations: 0.8599 MB / 0.6746 GB, free: 15.35 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.008183/0.6041, allocations: 4.837 MB / 0.6793 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/0.6077, allocations: 0.7939 MB / 0.6801 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/0.6086, allocations: 299.9 kB / 0.6804 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007744/0.6094, allocations: 0.9046 MB / 0.6812 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.6094, allocations: 49.2 kB / 0.6813 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.846e-06/0.6094, allocations: 0 / 0.6813 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009069/0.6185, allocations: 1.912 MB / 0.6832 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.6186, allocations: 61.11 kB / 0.6832 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/0.6209, allocations: 1.046 MB / 0.6842 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.6211, allocations: 38.83 kB / 0.6843 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/0.6216, allocations: 0.5203 MB / 0.6848 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.6218, allocations: 155 kB / 0.6849 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.6221, allocations: 123.5 kB / 0.685 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6222, allocations: 325.9 kB / 0.6854 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009856/0.6232, allocations: 308.4 kB / 0.6857 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.6244, allocations: 0.5054 MB / 0.6861 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.6262, allocations: 0.6862 MB / 0.6868 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6262, allocations: 1.344 kB / 0.6868 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00303/0.6292, allocations: 0.9899 MB / 0.6878 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.6293, allocations: 6.188 kB / 0.6878 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.6293, allocations: 4.188 kB / 0.6878 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.6308, allocations: 313.7 kB / 0.6881 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.6313, allocations: 120.2 kB / 0.6882 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.633, allocations: 0.9155 MB / 0.6891 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.6348, allocations: 171.8 kB / 0.6893 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.6349, allocations: 28.66 kB / 0.6893 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001595/0.6365, allocations: 0.5079 MB / 0.6898 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/0.6379, allocations: 0.5029 MB / 0.6903 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001842/0.6397, allocations: 0.6697 MB / 0.6909 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/0.6397, allocations: 1.5 kB / 0.6909 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00307/0.6428, allocations: 0.9815 MB / 0.6919 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.6428, allocations: 6.906 kB / 0.6919 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6429, allocations: 4.406 kB / 0.6919 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.6442, allocations: 317.6 kB / 0.6922 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.6447, allocations: 120 kB / 0.6923 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.6463, allocations: 0.9098 MB / 0.6932 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.648, allocations: 156.6 kB / 0.6934 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.489e-05/0.6481, allocations: 38.66 kB / 0.6934 GB, free: 4.254 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.0003241/0.6484, allocations: 216.1 kB / 0.6936 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/0.6489, allocations: 106.8 kB / 0.6937 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004084/0.6529, allocations: 1.1 MB / 0.6948 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.653, allocations: 10.45 kB / 0.6948 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.653, allocations: 1.359 kB / 0.6948 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.653, allocations: 5.453 kB / 0.6948 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006066/0.6591, allocations: 2.157 MB / 0.6969 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.6591, allocations: 2.344 kB / 0.6969 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.6594, allocations: 63.78 kB / 0.697 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.6605, allocations: 307.6 kB / 0.6973 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.6606, allocations: 17.28 kB / 0.6973 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.6621, allocations: 0.9383 MB / 0.6982 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6621, allocations: 4.938 kB / 0.6982 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/0.6662, allocations: 1.174 MB / 0.6993 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.6673, allocations: 263.9 kB / 0.6996 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/0.6678, allocations: 9.156 kB / 0.6996 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.6691, allocations: 99.7 kB / 0.6997 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.6692, allocations: 44.55 kB / 0.6997 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.6693, allocations: 23.39 kB / 0.6998 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001829/0.6711, allocations: 0.7358 MB / 0.7005 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6712, allocations: 0 / 0.7005 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002754/0.6739, allocations: 0.5592 MB / 0.701 GB, free: 460 kB / 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.001182/0.6751, allocations: 375.7 kB / 0.7014 GB, free: 244 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003398/0.6785, allocations: 1.094 MB / 0.7025 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6785, allocations: 0 / 0.7025 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000943/0.6795, allocations: 342.4 kB / 0.7028 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/0.6827, allocations: 0.4973 MB / 0.7033 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.6889, allocations: 2.423 MB / 0.7056 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009046/0.6898, allocations: 1.061 MB / 0.7067 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001193/0.691, allocations: 225.8 kB / 0.7069 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.6912, allocations: 83.27 kB / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.6913, allocations: 0 / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.04291/0.7342, allocations: 23.75 MB / 0.7302 GB, free: 6.602 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)