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.001877/0.001877, 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.002198/0.002198, allocations: 191 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.532/1.532, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9949/0.9949, allocations: 135.2 MB / 425.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 72 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1793, allocations: 80.93 MB / 0.5839 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3836/0.5629, allocations: 60.64 MB / 0.6432 GB, free: 17.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.5756, allocations: 11.9 MB / 0.6548 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.578, allocations: 54.53 kB / 0.6548 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.5799, allocations: 0.5793 MB / 0.6554 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005138/0.5851, allocations: 1.823 MB / 0.6572 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.588, allocations: 1.102 MB / 0.6583 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004193/0.5922, allocations: 3.1 MB / 0.6613 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.5941, allocations: 1.111 MB / 0.6624 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.598, allocations: 1.328 MB / 0.6637 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.5999, allocations: 0.9264 MB / 0.6646 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.6002, allocations: 119.7 kB / 0.6647 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.6035, allocations: 1.448 MB / 0.6661 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.6039, allocations: 291.9 kB / 0.6664 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.6051, allocations: 0.6953 MB / 0.6671 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004757/0.6099, allocations: 2.292 MB / 0.6693 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.6099, allocations: 0 / 0.6693 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6099, allocations: 0 / 0.6693 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.807e-05/0.61, allocations: 1.156 kB / 0.6693 GB, free: 1.934 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.003983/0.614, allocations: 1.72 MB / 0.671 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.614, allocations: 8.531 kB / 0.671 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.6165, allocations: 414.5 kB / 0.6714 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.6198, allocations: 1.125 MB / 0.6725 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004137/0.6202, allocations: 116.2 kB / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.6204, allocations: 83.34 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.6231, allocations: 0.9762 MB / 0.6736 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.6231, allocations: 4.641 kB / 0.6736 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.6232, allocations: 36.72 kB / 0.6737 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.6232, allocations: 18.31 kB / 0.6737 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.6258, allocations: 0.8591 MB / 0.6745 GB, free: 15.13 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.008804/0.6346, allocations: 4.839 MB / 0.6792 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/0.6382, allocations: 0.7947 MB / 0.68 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/0.639, allocations: 304.9 kB / 0.6803 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007853/0.6398, allocations: 0.904 MB / 0.6812 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.6399, allocations: 46.14 kB / 0.6812 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.135e-06/0.6399, allocations: 0 / 0.6812 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.00906/0.649, allocations: 1.907 MB / 0.6831 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.649, allocations: 60.94 kB / 0.6832 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.6511, allocations: 1.052 MB / 0.6842 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.6512, allocations: 37.7 kB / 0.6842 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/0.6517, allocations: 0.5189 MB / 0.6847 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.6519, allocations: 148.4 kB / 0.6849 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.6522, allocations: 128.7 kB / 0.685 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6523, allocations: 325.6 kB / 0.6853 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009227/0.6533, allocations: 305.1 kB / 0.6856 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.6545, allocations: 0.5082 MB / 0.6861 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.6562, allocations: 0.6897 MB / 0.6868 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.6563, allocations: 1.375 kB / 0.6868 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003064/0.6593, allocations: 0.993 MB / 0.6877 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.6594, allocations: 6.656 kB / 0.6877 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.6594, allocations: 5.234 kB / 0.6877 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.6608, allocations: 321.1 kB / 0.6881 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.6613, allocations: 115 kB / 0.6882 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.663, allocations: 0.9205 MB / 0.6891 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.6647, allocations: 170.8 kB / 0.6892 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-05/0.6648, allocations: 28.81 kB / 0.6892 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001395/0.6662, allocations: 0.5088 MB / 0.6897 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001149/0.6673, allocations: 0.5039 MB / 0.6902 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001726/0.6691, allocations: 0.669 MB / 0.6909 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.6691, allocations: 1.469 kB / 0.6909 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002952/0.672, allocations: 0.9848 MB / 0.6919 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6721, allocations: 8 kB / 0.6919 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6721, allocations: 8.406 kB / 0.6919 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.6733, allocations: 305.4 kB / 0.6922 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.6739, allocations: 117.4 kB / 0.6923 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.6755, allocations: 0.912 MB / 0.6932 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.6772, allocations: 152.8 kB / 0.6933 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/0.6773, allocations: 27.91 kB / 0.6933 GB, free: 4.043 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.0003376/0.6776, allocations: 224.2 kB / 0.6936 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.6778, allocations: 107.7 kB / 0.6937 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.6819, allocations: 1.097 MB / 0.6947 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.953e-05/0.6819, allocations: 14.12 kB / 0.6947 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.6819, allocations: 8.625 kB / 0.6947 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.682, allocations: 6.344 kB / 0.6948 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005974/0.6879, allocations: 2.159 MB / 0.6969 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.688, allocations: 2.531 kB / 0.6969 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.6883, allocations: 66.23 kB / 0.6969 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.6894, allocations: 300 kB / 0.6972 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.6894, allocations: 13.38 kB / 0.6972 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.691, allocations: 0.9479 MB / 0.6982 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.691, allocations: 2.75 kB / 0.6982 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/0.695, allocations: 1.165 MB / 0.6993 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008197/0.6958, allocations: 259.3 kB / 0.6995 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.696, allocations: 16.36 kB / 0.6996 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.697, allocations: 97.66 kB / 0.6996 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.6972, allocations: 41.23 kB / 0.6997 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.6972, allocations: 22.02 kB / 0.6997 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001411/0.6987, allocations: 0.7389 MB / 0.7004 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6987, allocations: 0 / 0.7004 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002045/0.7007, allocations: 0.5557 MB / 0.701 GB, free: 444 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.0009529/0.7017, allocations: 374.8 kB / 0.7013 GB, free: 252 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003469/0.7052, allocations: 1.115 MB / 0.7024 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7052, allocations: 2.875 kB / 0.7024 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000921/0.7061, allocations: 352.5 kB / 0.7028 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.7086, allocations: 0.513 MB / 0.7033 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.7144, allocations: 2.427 MB / 0.7056 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.7151, allocations: 1.063 MB / 0.7067 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001083/0.7162, allocations: 214.4 kB / 0.7069 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.7164, allocations: 80.44 kB / 0.7069 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of SimCode: time 6.92e-07/0.7164, allocations: 0 / 0.7069 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.04933/0.7658, allocations: 24.54 MB / 0.7309 GB, free: 6.074 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)