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.006082/0.006082, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001206/0.001206, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8016/0.8016, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.66 kB / 0.5813 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2066, allocations: 80.22 MB / 0.6597 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06053/0.2672, allocations: 61.2 MB / 0.7194 GB, free: 152 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.2836, allocations: 11.97 MB / 0.7311 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.2861, allocations: 59.62 kB / 0.7312 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.2881, allocations: 0.7025 MB / 0.7319 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005627/0.2937, allocations: 2.064 MB / 0.7339 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.2967, allocations: 1.208 MB / 0.7351 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003988/0.3007, allocations: 3.101 MB / 0.7381 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.3022, allocations: 1.128 MB / 0.7392 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.3052, allocations: 1.358 MB / 0.7405 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.3064, allocations: 0.9179 MB / 0.7414 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.3066, allocations: 120 kB / 0.7415 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.3092, allocations: 1.443 MB / 0.7429 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.3094, allocations: 294.9 kB / 0.7432 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006925/0.3101, allocations: 0.7036 MB / 0.7439 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.3133, allocations: 2.333 MB / 0.7462 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3133, allocations: 0 / 0.7462 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3133, allocations: 0 / 0.7462 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.3133, allocations: 4 kB / 0.7462 GB, free: 4.652 MB / 0.5762 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.002845/0.3162, allocations: 1.738 MB / 0.7479 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3162, allocations: 12.03 kB / 0.7479 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.3186, allocations: 454.5 kB / 0.7483 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.3207, allocations: 1.175 MB / 0.7495 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.3208, allocations: 62 kB / 0.7495 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3209, allocations: 84 kB / 0.7496 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.323, allocations: 1.002 MB / 0.7506 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.323, allocations: 0 / 0.7506 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/0.3231, allocations: 35.98 kB / 0.7506 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.3231, allocations: 20 kB / 0.7507 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.3256, allocations: 0.9445 MB / 0.7516 GB, free: 14.99 MB / 0.5919 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.005959/0.3316, allocations: 4.669 MB / 0.7561 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.3355, allocations: 0.9917 MB / 0.7571 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.3365, allocations: 412.1 kB / 0.7575 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009215/0.3375, allocations: 1.021 MB / 0.7585 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3375, allocations: 35 kB / 0.7585 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.054e-06/0.3375, allocations: 0 / 0.7585 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.009213/0.3467, allocations: 2.17 MB / 0.7606 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.3468, allocations: 55.84 kB / 0.7607 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.3481, allocations: 0.9393 MB / 0.7616 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/0.3482, allocations: 41.7 kB / 0.7617 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.3486, allocations: 0.5001 MB / 0.7621 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.3487, allocations: 181.4 kB / 0.7623 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.349, allocations: 138.1 kB / 0.7624 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3491, allocations: 326 kB / 0.7628 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/0.3501, allocations: 358.9 kB / 0.7631 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.3512, allocations: 0.5116 MB / 0.7636 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.3532, allocations: 0.7541 MB / 0.7643 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3532, allocations: 0 / 0.7643 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002785/0.356, allocations: 1.06 MB / 0.7654 GB, free: 84 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.356, allocations: 4 kB / 0.7654 GB, free: 80 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.356, allocations: 4 kB / 0.7654 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.3572, allocations: 312.5 kB / 0.7657 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.3579, allocations: 139.7 kB / 0.7658 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3592, allocations: 0.884 MB / 0.7667 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009686/0.3602, allocations: 131.3 kB / 0.7668 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.84e-05/0.3603, allocations: 27.98 kB / 0.7668 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001318/0.3616, allocations: 0.5524 MB / 0.7674 GB, free: 14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001115/0.3628, allocations: 0.5077 MB / 0.7679 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001943/0.3647, allocations: 0.7462 MB / 0.7686 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.3647, allocations: 4 kB / 0.7686 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002797/0.3675, allocations: 1.049 MB / 0.7696 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3675, allocations: 8 kB / 0.7696 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3676, allocations: 3.938 kB / 0.7696 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.3686, allocations: 304.8 kB / 0.7699 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.3692, allocations: 131.8 kB / 0.77 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.3705, allocations: 0.8918 MB / 0.7709 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009715/0.3715, allocations: 107.6 kB / 0.771 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.3716, allocations: 31.98 kB / 0.7711 GB, free: 10.1 MB / 0.6075 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.0002442/0.3718, allocations: 216.1 kB / 0.7713 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.372, allocations: 106.7 kB / 0.7714 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/0.3764, allocations: 1.311 MB / 0.7726 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.3764, allocations: 8 kB / 0.7726 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3764, allocations: 0 / 0.7726 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3764, allocations: 7.922 kB / 0.7727 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.3819, allocations: 2.412 MB / 0.775 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.382, allocations: 8 kB / 0.775 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.3825, allocations: 103.8 kB / 0.7751 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009231/0.3834, allocations: 284.8 kB / 0.7754 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.3835, allocations: 19.98 kB / 0.7754 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.3848, allocations: 0.9291 MB / 0.7763 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3849, allocations: 0 / 0.7763 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.389, allocations: 1.331 MB / 0.7776 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.3894, allocations: 279.5 kB / 0.7779 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.3895, allocations: 12 kB / 0.7779 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.3904, allocations: 75.91 kB / 0.778 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.3905, allocations: 40.33 kB / 0.778 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.3905, allocations: 23.98 kB / 0.778 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009288/0.3915, allocations: 0.6635 MB / 0.7787 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3915, allocations: 4 kB / 0.7787 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001531/0.393, allocations: 0.5731 MB / 0.7792 GB, free: 1.531 MB / 0.6075 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.0008671/0.3939, allocations: 385 kB / 0.7796 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003737/0.3976, allocations: 1.307 MB / 0.7809 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3977, allocations: 4 kB / 0.7809 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.3989, allocations: 456.8 kB / 0.7813 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.4014, allocations: 500 kB / 0.7818 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.4057, allocations: 1.864 MB / 0.7836 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.4065, allocations: 1.074 MB / 0.7847 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008796/0.4073, allocations: 246.3 kB / 0.7849 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.4076, allocations: 75.42 kB / 0.785 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of SimCode: time 1.082e-06/0.4076, allocations: 0 / 0.785 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.03874/0.4463, allocations: 24.87 MB / 0.8093 GB, free: 3.07 MB / 0.6387 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)