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.001243/0.001243, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001228/0.001228, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7396/0.7396, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 60.05 kB / 0.5068 GB, free: 7.625 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3022, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04758/0.3498, allocations: 61.19 MB / 0.6455 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.3646, allocations: 11.98 MB / 0.6572 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.366, allocations: 55.69 kB / 0.6573 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.3675, allocations: 0.683 MB / 0.6579 GB, free: 444 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.3718, allocations: 1.962 MB / 0.6599 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.3743, allocations: 1.205 MB / 0.661 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003319/0.3776, allocations: 3.091 MB / 0.6641 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.379, allocations: 1.131 MB / 0.6652 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.3815, allocations: 1.325 MB / 0.6665 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.3826, allocations: 0.914 MB / 0.6673 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.3827, allocations: 120 kB / 0.6675 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.3855, allocations: 1.447 MB / 0.6689 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.3858, allocations: 298.8 kB / 0.6692 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007263/0.3865, allocations: 0.6959 MB / 0.6698 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00299/0.3895, allocations: 2.325 MB / 0.6721 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3895, allocations: 0 / 0.6721 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3895, allocations: 3.984 kB / 0.6721 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.3895, allocations: 4 kB / 0.6721 GB, free: 1.855 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.002858/0.3924, allocations: 1.734 MB / 0.6738 GB, free: 64 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3925, allocations: 13.11 kB / 0.6738 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/0.3947, allocations: 454.8 kB / 0.6743 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.3968, allocations: 1.175 MB / 0.6754 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.3969, allocations: 66 kB / 0.6755 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.397, allocations: 80 kB / 0.6755 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.3989, allocations: 0.9978 MB / 0.6765 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.399, allocations: 0 / 0.6765 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.399, allocations: 32 kB / 0.6765 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3991, allocations: 23.98 kB / 0.6766 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.4014, allocations: 0.9446 MB / 0.6775 GB, free: 12.2 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.006191/0.4076, allocations: 4.676 MB / 0.6821 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/0.4113, allocations: 0.9953 MB / 0.683 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000952/0.4122, allocations: 405.9 kB / 0.6834 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009668/0.4132, allocations: 1.017 MB / 0.6844 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4133, allocations: 42.98 kB / 0.6844 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/0.4133, allocations: 0 / 0.6844 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008596/0.4219, allocations: 2.166 MB / 0.6866 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4219, allocations: 63.84 kB / 0.6866 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.4232, allocations: 0.9431 MB / 0.6875 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.4233, allocations: 37.7 kB / 0.6876 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.4236, allocations: 0.5002 MB / 0.6881 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.4238, allocations: 189.2 kB / 0.6883 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.424, allocations: 130.1 kB / 0.6884 GB, free: 388 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4242, allocations: 326 kB / 0.6887 GB, free: 56 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009346/0.4251, allocations: 354.9 kB / 0.689 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.4262, allocations: 0.5121 MB / 0.6895 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.428, allocations: 0.7541 MB / 0.6903 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.428, allocations: 4 kB / 0.6903 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002696/0.4307, allocations: 1.053 MB / 0.6913 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4308, allocations: 8 kB / 0.6913 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4308, allocations: 0 / 0.6913 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.432, allocations: 305.9 kB / 0.6916 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.4326, allocations: 135.8 kB / 0.6917 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.4339, allocations: 0.8971 MB / 0.6926 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/0.4349, allocations: 131.3 kB / 0.6927 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.435, allocations: 23.98 kB / 0.6927 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001228/0.4362, allocations: 0.5556 MB / 0.6933 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001082/0.4373, allocations: 0.5078 MB / 0.6938 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001864/0.4392, allocations: 0.7423 MB / 0.6945 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.4392, allocations: 8 kB / 0.6945 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002681/0.4419, allocations: 1.045 MB / 0.6955 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.4419, allocations: 8 kB / 0.6955 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4419, allocations: 4 kB / 0.6955 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.4429, allocations: 296.8 kB / 0.6958 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.4435, allocations: 131.8 kB / 0.696 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.4448, allocations: 0.8876 MB / 0.6968 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/0.4458, allocations: 119.5 kB / 0.6969 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-05/0.4458, allocations: 31.98 kB / 0.697 GB, free: 7.289 MB / 0.5294 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.0002416/0.4461, allocations: 224.9 kB / 0.6972 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.4463, allocations: 102.7 kB / 0.6973 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.4505, allocations: 1.31 MB / 0.6986 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4505, allocations: 4 kB / 0.6986 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4506, allocations: 3.984 kB / 0.6986 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.4506, allocations: 7.938 kB / 0.6986 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.456, allocations: 2.409 MB / 0.7009 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.4561, allocations: 0 / 0.7009 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.4566, allocations: 103.8 kB / 0.701 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009091/0.4575, allocations: 295.6 kB / 0.7013 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.4576, allocations: 19.98 kB / 0.7013 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.4589, allocations: 0.9229 MB / 0.7022 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4589, allocations: 7.969 kB / 0.7022 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/0.4627, allocations: 1.324 MB / 0.7035 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/0.4632, allocations: 275.5 kB / 0.7038 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.4634, allocations: 15.84 kB / 0.7038 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008259/0.4642, allocations: 75.91 kB / 0.7039 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.4643, allocations: 44.33 kB / 0.7039 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.4644, allocations: 27.97 kB / 0.7039 GB, free: 15.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009579/0.4654, allocations: 0.6674 MB / 0.7046 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4654, allocations: 0 / 0.7046 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001435/0.4668, allocations: 0.5653 MB / 0.7052 GB, free: 14.73 MB / 0.545 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.0008047/0.4676, allocations: 395.5 kB / 0.7055 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003512/0.4712, allocations: 1.299 MB / 0.7068 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4712, allocations: 0 / 0.7068 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.4723, allocations: 456.8 kB / 0.7072 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.4743, allocations: 0.4892 MB / 0.7077 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.4783, allocations: 1.882 MB / 0.7095 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.4791, allocations: 1.07 MB / 0.7106 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008375/0.4799, allocations: 238.8 kB / 0.7108 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.4801, allocations: 83.41 kB / 0.7109 GB, free: 8.801 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.4802, allocations: 0 / 0.7109 GB, free: 8.801 MB / 0.545 GB Notification: Performance of Templates: time 0.03802/0.5182, allocations: 24.7 MB / 0.735 GB, free: 384 kB / 0.5606 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)