Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001025, allocations: 98.88 kB / 16.02 MB, free: 76 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.001291/0.001291, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9547/0.9547, allocations: 135.3 MB / 427.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003298, allocations: 8.281 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1598, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3935/0.5533, allocations: 59.73 MB / 0.6469 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.5692, allocations: 11.91 MB / 0.6586 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.5721, allocations: 52.5 kB / 0.6586 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.574, allocations: 0.5472 MB / 0.6592 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.5796, allocations: 1.799 MB / 0.6609 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.5825, allocations: 1.08 MB / 0.662 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005142/0.5877, allocations: 3.912 MB / 0.6658 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.5894, allocations: 0.9115 MB / 0.6667 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/0.5923, allocations: 1.114 MB / 0.6678 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.5941, allocations: 0.8728 MB / 0.6686 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.5943, allocations: 43 kB / 0.6687 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.5975, allocations: 1.329 MB / 0.67 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.5978, allocations: 214.5 kB / 0.6702 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009958/0.5988, allocations: 0.6357 MB / 0.6708 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.6019, allocations: 1.7 MB / 0.6724 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.602, allocations: 0 / 0.6724 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.975e-06/0.602, allocations: 0.7969 kB / 0.6724 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.602, allocations: 0 / 0.6724 GB, free: 2.539 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.003154/0.6052, allocations: 1.501 MB / 0.6739 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6052, allocations: 9.25 kB / 0.6739 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.608, allocations: 0.5184 MB / 0.6744 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.6105, allocations: 1.135 MB / 0.6755 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.6109, allocations: 133.3 kB / 0.6757 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.6111, allocations: 80.17 kB / 0.6757 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.6136, allocations: 1.033 MB / 0.6767 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.6137, allocations: 1.281 kB / 0.6767 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.301e-05/0.6138, allocations: 35.38 kB / 0.6768 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.6138, allocations: 19.56 kB / 0.6768 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.6168, allocations: 1.011 MB / 0.6778 GB, free: 15.84 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.007925/0.6248, allocations: 4.717 MB / 0.6824 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004607/0.6294, allocations: 1.131 MB / 0.6835 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.6307, allocations: 447.6 kB / 0.6839 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.6318, allocations: 1.031 MB / 0.6849 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.6319, allocations: 38.03 kB / 0.685 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.055e-06/0.6319, allocations: 0 / 0.685 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.01123/0.6431, allocations: 2.5 MB / 0.6874 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.6432, allocations: 57.95 kB / 0.6875 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.6453, allocations: 0.9431 MB / 0.6884 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.6454, allocations: 37.23 kB / 0.6884 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.6459, allocations: 0.4974 MB / 0.6889 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.6462, allocations: 183 kB / 0.6891 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.6463, allocations: 52.59 kB / 0.6891 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6464, allocations: 325.9 kB / 0.6894 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.6476, allocations: 381.7 kB / 0.6898 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.649, allocations: 0.5539 MB / 0.6903 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.6513, allocations: 0.8208 MB / 0.6911 GB, free: 8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6513, allocations: 0 / 0.6911 GB, free: 8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003503/0.6548, allocations: 1.141 MB / 0.6923 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.6549, allocations: 162.7 kB / 0.6924 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6549, allocations: 2.797 kB / 0.6924 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.6564, allocations: 329.3 kB / 0.6927 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.6572, allocations: 142.1 kB / 0.6929 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.6588, allocations: 0.9458 MB / 0.6938 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.6605, allocations: 173.2 kB / 0.694 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.6606, allocations: 28.42 kB / 0.694 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.6606, allocations: 3.75 kB / 0.694 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003057/0.6636, allocations: 1.014 MB / 0.695 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6637, allocations: 2.688 kB / 0.695 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.6649, allocations: 316.4 kB / 0.6953 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.6656, allocations: 146.2 kB / 0.6954 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.6671, allocations: 0.938 MB / 0.6963 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.6686, allocations: 175.4 kB / 0.6965 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/0.6687, allocations: 28.59 kB / 0.6965 GB, free: 5.469 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0007887/0.6695, allocations: 351.9 kB / 0.6969 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/0.6698, allocations: 115.2 kB / 0.697 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005309/0.6751, allocations: 1.433 MB / 0.6984 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.6752, allocations: 10.81 kB / 0.6984 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.6752, allocations: 0 / 0.6984 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6752, allocations: 4.109 kB / 0.6984 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007193/0.6824, allocations: 2.53 MB / 0.7009 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.6824, allocations: 2.438 kB / 0.7009 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.683, allocations: 113.1 kB / 0.701 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.6843, allocations: 331.7 kB / 0.7013 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.6844, allocations: 18.86 kB / 0.7013 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.6861, allocations: 0.9677 MB / 0.7022 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6862, allocations: 1.438 kB / 0.7023 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005374/0.6915, allocations: 1.459 MB / 0.7037 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.6927, allocations: 284.8 kB / 0.7039 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.6931, allocations: 13.28 kB / 0.704 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.6945, allocations: 129.5 kB / 0.7041 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.6947, allocations: 42.5 kB / 0.7041 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.876e-05/0.6948, allocations: 27.23 kB / 0.7041 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001535/0.6963, allocations: 0.6555 MB / 0.7048 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6963, allocations: 3.938 kB / 0.7048 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002427/0.6988, allocations: 0.5718 MB / 0.7054 GB, free: 1.082 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001034/0.6998, allocations: 384.7 kB / 0.7057 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004066/0.7039, allocations: 1.401 MB / 0.7071 GB, free: 272 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7039, allocations: 0 / 0.7071 GB, free: 272 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.7052, allocations: 494.6 kB / 0.7076 GB, free: 52 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/0.7085, allocations: 0.5049 MB / 0.7081 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.7139, allocations: 2.406 MB / 0.7104 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/0.7148, allocations: 1.06 MB / 0.7114 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.7152, allocations: 91.2 kB / 0.7115 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.7152, allocations: 0 / 0.7115 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.03611/0.7513, allocations: 23.84 MB / 0.7348 GB, free: 5.645 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)