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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0009602/0.0009602, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001181/0.001181, allocations: 168.7 kB / 15.95 MB, free: 204 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.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7361/0.7361, allocations: 132.4 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8.906 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3572, allocations: 81.57 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05103/0.4083, allocations: 56.49 MB / 0.6382 GB, free: 7.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.4221, allocations: 11.22 MB / 0.6492 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.4233, allocations: 51.62 kB / 0.6492 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.4245, allocations: 468.9 kB / 0.6497 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.4276, allocations: 1.526 MB / 0.6512 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.4295, allocations: 0.8584 MB / 0.652 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.4327, allocations: 3.398 MB / 0.6553 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.4338, allocations: 0.8106 MB / 0.6561 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.4355, allocations: 1.042 MB / 0.6571 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009544/0.4364, allocations: 0.8205 MB / 0.658 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.4366, allocations: 44 kB / 0.658 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.4385, allocations: 1.091 MB / 0.6591 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.4387, allocations: 203 kB / 0.6593 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.439, allocations: 281.1 kB / 0.6595 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.4405, allocations: 1.652 MB / 0.6611 GB, free: 424 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4405, allocations: 0 / 0.6611 GB, free: 424 kB / 494.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.4405, allocations: 4 kB / 0.6611 GB, free: 420 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.4406, allocations: 3.938 kB / 0.6611 GB, free: 416 kB / 494.1 MB 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.002383/0.4429, allocations: 1.501 MB / 0.6626 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.443, allocations: 12.03 kB / 0.6626 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.4453, allocations: 0.5173 MB / 0.6631 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.4471, allocations: 1.101 MB / 0.6642 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/0.4475, allocations: 121.9 kB / 0.6643 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.4476, allocations: 87.98 kB / 0.6644 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.4496, allocations: 1.033 MB / 0.6654 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4497, allocations: 3.938 kB / 0.6654 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/0.4497, allocations: 32 kB / 0.6654 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4498, allocations: 16 kB / 0.6655 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.4523, allocations: 1.003 MB / 0.6664 GB, free: 10.84 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.005341/0.4576, allocations: 4.708 MB / 0.671 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00384/0.4615, allocations: 1.129 MB / 0.6721 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.4625, allocations: 433.9 kB / 0.6726 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008397/0.4633, allocations: 1.029 MB / 0.6736 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4634, allocations: 46.92 kB / 0.6736 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/0.4634, allocations: 4 kB / 0.6736 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.008779/0.4722, allocations: 2.486 MB / 0.676 GB, free: 392 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4722, allocations: 63.78 kB / 0.6761 GB, free: 316 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.4733, allocations: 0.9236 MB / 0.677 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.4734, allocations: 41.7 kB / 0.677 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.4738, allocations: 0.5001 MB / 0.6775 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.4739, allocations: 189.3 kB / 0.6777 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.474, allocations: 16 kB / 0.6777 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.4741, allocations: 326 kB / 0.678 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009736/0.4751, allocations: 372.9 kB / 0.6784 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.4762, allocations: 0.5396 MB / 0.6789 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/0.4772, allocations: 401.9 kB / 0.6793 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4772, allocations: 3.938 kB / 0.6793 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002643/0.4798, allocations: 1.127 MB / 0.6804 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.471e-05/0.4799, allocations: 164.4 kB / 0.6806 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4799, allocations: 4 kB / 0.6806 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.4811, allocations: 320.6 kB / 0.6809 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.4818, allocations: 147.8 kB / 0.681 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.4831, allocations: 0.9386 MB / 0.6819 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009965/0.4841, allocations: 172.8 kB / 0.6821 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.4842, allocations: 27.98 kB / 0.6821 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-06/0.4842, allocations: 7.938 kB / 0.6821 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002519/0.4868, allocations: 1.005 MB / 0.6831 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4868, allocations: 4 kB / 0.6831 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009936/0.4878, allocations: 319.9 kB / 0.6834 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.4884, allocations: 143.8 kB / 0.6836 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.4897, allocations: 0.9269 MB / 0.6845 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/0.4907, allocations: 179.4 kB / 0.6846 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.4908, allocations: 27.98 kB / 0.6847 GB, free: 7.34 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.0004312/0.4912, allocations: 352.9 kB / 0.685 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4913, allocations: 106.7 kB / 0.6851 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004257/0.4956, allocations: 1.447 MB / 0.6865 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.4956, allocations: 8 kB / 0.6865 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4956, allocations: 3.984 kB / 0.6865 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4957, allocations: 0 / 0.6865 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.501, allocations: 2.51 MB / 0.689 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.501, allocations: 4.031 kB / 0.689 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.5015, allocations: 115.8 kB / 0.6891 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009513/0.5025, allocations: 334.4 kB / 0.6894 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.5025, allocations: 15.98 kB / 0.6894 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.5039, allocations: 0.966 MB / 0.6904 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5039, allocations: 0 / 0.6904 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/0.5078, allocations: 1.452 MB / 0.6918 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.5082, allocations: 291.4 kB / 0.6921 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.5084, allocations: 15.94 kB / 0.6921 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009039/0.5093, allocations: 127.8 kB / 0.6922 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.5094, allocations: 40.28 kB / 0.6922 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.5094, allocations: 27.97 kB / 0.6923 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007855/0.5102, allocations: 0.6518 MB / 0.6929 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5102, allocations: 0 / 0.6929 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001303/0.5115, allocations: 0.5691 MB / 0.6935 GB, free: 14.14 MB / 0.5294 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.0006356/0.5122, allocations: 370.9 kB / 0.6938 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003475/0.5157, allocations: 1.389 MB / 0.6952 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5157, allocations: 0 / 0.6952 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.5169, allocations: 488.8 kB / 0.6956 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.5191, allocations: 0.5047 MB / 0.6961 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.5227, allocations: 2.329 MB / 0.6984 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.5233, allocations: 1.066 MB / 0.6994 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009378/0.5242, allocations: 223.1 kB / 0.6996 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.5244, allocations: 83.41 kB / 0.6997 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.5244, allocations: 0 / 0.6997 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of Templates: time 0.03378/0.5582, allocations: 23.01 MB / 0.7222 GB, free: 0.9648 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (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)