Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008298/0.0008298, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0009004/0.0009004, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8157/0.8157, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002713, allocations: 10.06 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2744/0.4169, allocations: 51.28 MB / 0.6373 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4271, allocations: 10.32 MB / 0.6474 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.4283, allocations: 46.94 kB / 0.6474 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.4297, allocations: 0.6283 MB / 0.648 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.4333, allocations: 1.947 MB / 0.6499 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.436, allocations: 1.311 MB / 0.6512 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.4381, allocations: 1.855 MB / 0.653 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000874/0.4389, allocations: 0.8339 MB / 0.6538 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.4403, allocations: 0.9851 MB / 0.6548 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006186/0.4409, allocations: 0.6102 MB / 0.6554 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.681e-05/0.441, allocations: 51.2 kB / 0.6554 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.4427, allocations: 0.9894 MB / 0.6564 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.4428, allocations: 202.8 kB / 0.6566 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.443, allocations: 280.7 kB / 0.6569 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.4443, allocations: 1.587 MB / 0.6584 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.4443, allocations: 1.375 kB / 0.6584 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4443, allocations: 0 / 0.6584 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.4444, allocations: 0 / 0.6584 GB, free: 11.35 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.002309/0.4467, allocations: 1.497 MB / 0.6599 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4467, allocations: 9.25 kB / 0.6599 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.4491, allocations: 0.5134 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.4512, allocations: 1.053 MB / 0.6614 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.4516, allocations: 132.2 kB / 0.6615 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.4517, allocations: 80.38 kB / 0.6616 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.4539, allocations: 1.026 MB / 0.6626 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.4539, allocations: 5.156 kB / 0.6626 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.454, allocations: 36.19 kB / 0.6626 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.454, allocations: 19 kB / 0.6627 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.4566, allocations: 1.001 MB / 0.6636 GB, free: 8.727 MB / 0.4981 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.005776/0.4624, allocations: 4.731 MB / 0.6683 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.4663, allocations: 1.126 MB / 0.6694 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007343/0.467, allocations: 1.031 MB / 0.6704 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.467, allocations: 38.53 kB / 0.6704 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.925e-06/0.4671, allocations: 7.922 kB / 0.6704 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.009271/0.4763, allocations: 2.48 MB / 0.6728 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.4764, allocations: 61.38 kB / 0.6729 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4776, allocations: 0.9438 MB / 0.6738 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/0.4777, allocations: 37.7 kB / 0.6739 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.478, allocations: 0.5072 MB / 0.6743 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.4781, allocations: 183.5 kB / 0.6745 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.4782, allocations: 10.31 kB / 0.6745 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.4782, allocations: 330.4 kB / 0.6748 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009621/0.4792, allocations: 377.8 kB / 0.6752 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.4803, allocations: 0.5423 MB / 0.6757 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.4812, allocations: 399.9 kB / 0.6761 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4812, allocations: 1.375 kB / 0.6761 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002606/0.4838, allocations: 1.123 MB / 0.6772 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.484, allocations: 0.9695 MB / 0.6782 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4841, allocations: 1.938 kB / 0.6782 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.4853, allocations: 324.4 kB / 0.6785 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/0.4859, allocations: 145.3 kB / 0.6786 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.4873, allocations: 0.9406 MB / 0.6795 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.4884, allocations: 180.7 kB / 0.6797 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/0.4885, allocations: 29.47 kB / 0.6797 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.4885, allocations: 2.688 kB / 0.6797 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002574/0.4911, allocations: 0.9991 MB / 0.6807 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4911, allocations: 2.312 kB / 0.6807 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.4921, allocations: 323.8 kB / 0.681 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.4927, allocations: 149.2 kB / 0.6812 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.4941, allocations: 0.9394 MB / 0.6821 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.4951, allocations: 164.2 kB / 0.6822 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/0.4952, allocations: 28.61 kB / 0.6823 GB, free: 13.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005005/0.4957, allocations: 347.9 kB / 0.6826 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.4959, allocations: 114.9 kB / 0.6827 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.5002, allocations: 1.44 MB / 0.6841 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.5003, allocations: 6.953 kB / 0.6841 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5003, allocations: 1.828 kB / 0.6841 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5003, allocations: 2.766 kB / 0.6841 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005803/0.5061, allocations: 2.535 MB / 0.6866 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5061, allocations: 2.281 kB / 0.6866 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.5067, allocations: 120.9 kB / 0.6867 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009994/0.5077, allocations: 324 kB / 0.687 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.5077, allocations: 17.73 kB / 0.687 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.5091, allocations: 0.9664 MB / 0.688 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5091, allocations: 5.531 kB / 0.688 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/0.5133, allocations: 1.523 MB / 0.6895 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.5139, allocations: 305.3 kB / 0.6898 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.514, allocations: 9.188 kB / 0.6898 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/0.5149, allocations: 126.2 kB / 0.6899 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.515, allocations: 42.66 kB / 0.6899 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.5151, allocations: 25.3 kB / 0.69 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000923/0.516, allocations: 0.6656 MB / 0.6906 GB, free: 10 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.516, allocations: 0 / 0.6906 GB, free: 10 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001646/0.5177, allocations: 0.573 MB / 0.6912 GB, free: 9.879 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006433/0.5183, allocations: 388.1 kB / 0.6915 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003537/0.5219, allocations: 1.39 MB / 0.6929 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5219, allocations: 1 kB / 0.6929 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.5231, allocations: 489.8 kB / 0.6934 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.5251, allocations: 0.4886 MB / 0.6938 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.5293, allocations: 2.321 MB / 0.6961 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.53, allocations: 1.091 MB / 0.6972 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009141/0.5309, allocations: 232.3 kB / 0.6974 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.5311, allocations: 86.56 kB / 0.6975 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.5311, allocations: 0 / 0.6975 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of Templates: time 0.03166/0.5628, allocations: 23.32 MB / 0.7203 GB, free: 3.266 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: