Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_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.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006097/0.006097, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001263/0.001263, allocations: 186.5 kB / 16.67 MB, free: 5.969 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.795/0.795, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 62.7 kB / 0.5813 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1787, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06947/0.2483, allocations: 61.19 MB / 0.7194 GB, free: 96 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.2658, allocations: 11.97 MB / 0.7311 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.2681, allocations: 67.56 kB / 0.7312 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.2702, allocations: 0.6908 MB / 0.7319 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005861/0.2762, allocations: 2.07 MB / 0.7339 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.28, allocations: 1.217 MB / 0.7351 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004882/0.2849, allocations: 3.097 MB / 0.7381 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.2873, allocations: 1.124 MB / 0.7392 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.2914, allocations: 1.362 MB / 0.7405 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002158/0.2936, allocations: 0.9149 MB / 0.7414 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004675/0.2941, allocations: 120 kB / 0.7415 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.2977, allocations: 1.447 MB / 0.7429 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005029/0.2982, allocations: 302.8 kB / 0.7432 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.2996, allocations: 0.6997 MB / 0.7439 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004903/0.3045, allocations: 2.341 MB / 0.7462 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3045, allocations: 8 kB / 0.7462 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3045, allocations: 0 / 0.7462 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.846e-05/0.3046, allocations: 0 / 0.7462 GB, free: 4.57 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.003868/0.3085, allocations: 1.75 MB / 0.7479 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3085, allocations: 8.031 kB / 0.7479 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.3109, allocations: 462.5 kB / 0.7484 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.3132, allocations: 1.163 MB / 0.7495 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.3133, allocations: 62 kB / 0.7496 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.3134, allocations: 87.94 kB / 0.7496 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.3154, allocations: 0.9901 MB / 0.7506 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.3154, allocations: 3.938 kB / 0.7506 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.3155, allocations: 36 kB / 0.7506 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.3156, allocations: 20 kB / 0.7507 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.3179, allocations: 0.9367 MB / 0.7516 GB, free: 14.91 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.006214/0.3242, allocations: 4.656 MB / 0.7561 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/0.3279, allocations: 1.007 MB / 0.7571 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009879/0.3289, allocations: 404.6 kB / 0.7575 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.33, allocations: 1.013 MB / 0.7585 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.33, allocations: 39 kB / 0.7585 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/0.33, allocations: 3.938 kB / 0.7585 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.006946/0.337, allocations: 1.908 MB / 0.7604 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.337, allocations: 59.78 kB / 0.7604 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.3383, allocations: 0.9513 MB / 0.7614 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.3383, allocations: 37.7 kB / 0.7614 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.3388, allocations: 0.5079 MB / 0.7619 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.339, allocations: 185.3 kB / 0.7621 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.3392, allocations: 130.1 kB / 0.7622 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3394, allocations: 334 kB / 0.7625 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/0.3403, allocations: 350.9 kB / 0.7629 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.3414, allocations: 0.502 MB / 0.7633 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.3433, allocations: 0.7618 MB / 0.7641 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3433, allocations: 0 / 0.7641 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002702/0.346, allocations: 1.053 MB / 0.7651 GB, free: 284 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.346, allocations: 8 kB / 0.7651 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.346, allocations: 0 / 0.7651 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.3473, allocations: 300.9 kB / 0.7654 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.3479, allocations: 131.8 kB / 0.7655 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.3493, allocations: 0.8879 MB / 0.7664 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/0.3503, allocations: 119.4 kB / 0.7665 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.803e-05/0.3504, allocations: 31.97 kB / 0.7666 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001325/0.3518, allocations: 0.5602 MB / 0.7671 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001097/0.3529, allocations: 0.5051 MB / 0.7676 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001926/0.3548, allocations: 0.7384 MB / 0.7683 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.3548, allocations: 3.938 kB / 0.7683 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002709/0.3576, allocations: 1.049 MB / 0.7693 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3576, allocations: 8 kB / 0.7693 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3576, allocations: 3.984 kB / 0.7694 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.3586, allocations: 284.8 kB / 0.7696 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.3592, allocations: 135.8 kB / 0.7698 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.3606, allocations: 0.8944 MB / 0.7706 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/0.3615, allocations: 111.6 kB / 0.7707 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.3616, allocations: 27.98 kB / 0.7708 GB, free: 10.34 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.0002598/0.3619, allocations: 216.2 kB / 0.771 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.3622, allocations: 114.6 kB / 0.7711 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.3652, allocations: 1.141 MB / 0.7722 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.3653, allocations: 4 kB / 0.7722 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3653, allocations: 0 / 0.7722 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3653, allocations: 3.984 kB / 0.7722 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/0.3699, allocations: 2.252 MB / 0.7744 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3699, allocations: 0 / 0.7744 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.3704, allocations: 104 kB / 0.7745 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009258/0.3714, allocations: 304.5 kB / 0.7748 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/0.3714, allocations: 19.98 kB / 0.7748 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.3728, allocations: 0.9191 MB / 0.7757 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3728, allocations: 3.938 kB / 0.7757 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/0.3762, allocations: 1.284 MB / 0.777 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.3767, allocations: 275.5 kB / 0.7772 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.3769, allocations: 16 kB / 0.7772 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.3777, allocations: 75.91 kB / 0.7773 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.3778, allocations: 40.33 kB / 0.7773 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.3779, allocations: 23.97 kB / 0.7774 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009949/0.3789, allocations: 0.6715 MB / 0.778 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.493e-06/0.3789, allocations: 0 / 0.778 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001589/0.3805, allocations: 0.5729 MB / 0.7786 GB, free: 2.129 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.0008842/0.3814, allocations: 395.4 kB / 0.779 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003678/0.3851, allocations: 1.288 MB / 0.7802 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3851, allocations: 4 kB / 0.7802 GB, free: 472 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.3864, allocations: 460.8 kB / 0.7807 GB, free: 8 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.3887, allocations: 0.4974 MB / 0.7812 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.3931, allocations: 1.875 MB / 0.783 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.3938, allocations: 1.07 MB / 0.784 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008762/0.3947, allocations: 229.4 kB / 0.7842 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.3949, allocations: 83.41 kB / 0.7843 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.395, allocations: 4 kB / 0.7843 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.04337/0.4383, allocations: 24.8 MB / 0.8085 GB, free: 3.723 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)