Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001663/0.001663, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001836/0.001836, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7983/0.7983, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.88 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3291, allocations: 80.91 MB / 0.5851 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05275/0.3818, allocations: 61.19 MB / 0.6448 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01723/0.3991, allocations: 11.97 MB / 0.6565 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.4009, allocations: 59.62 kB / 0.6566 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.4027, allocations: 0.683 MB / 0.6572 GB, free: 460 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004926/0.4077, allocations: 1.959 MB / 0.6591 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.4105, allocations: 1.202 MB / 0.6603 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00382/0.4143, allocations: 3.079 MB / 0.6633 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.4158, allocations: 1.135 MB / 0.6644 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.4185, allocations: 1.318 MB / 0.6657 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.4198, allocations: 0.914 MB / 0.6666 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.42, allocations: 123.9 kB / 0.6667 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.4227, allocations: 1.454 MB / 0.6681 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.423, allocations: 298.8 kB / 0.6684 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007362/0.4237, allocations: 0.6958 MB / 0.6691 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.4268, allocations: 2.306 MB / 0.6714 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4268, allocations: 8 kB / 0.6714 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4268, allocations: 0 / 0.6714 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.4269, allocations: 0 / 0.6714 GB, free: 1.895 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.002994/0.4298, allocations: 1.746 MB / 0.6731 GB, free: 92 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4299, allocations: 9.109 kB / 0.6731 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.4323, allocations: 458.8 kB / 0.6735 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.4343, allocations: 1.108 MB / 0.6746 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.4347, allocations: 121.9 kB / 0.6747 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.4348, allocations: 80 kB / 0.6748 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.4369, allocations: 1.002 MB / 0.6758 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4369, allocations: 0 / 0.6758 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/0.437, allocations: 32 kB / 0.6758 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.437, allocations: 24 kB / 0.6758 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.4395, allocations: 0.9406 MB / 0.6767 GB, free: 12.24 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.006359/0.4459, allocations: 4.706 MB / 0.6813 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/0.45, allocations: 1.007 MB / 0.6823 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.4511, allocations: 409.9 kB / 0.6827 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.4521, allocations: 1.021 MB / 0.6837 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.4522, allocations: 35 kB / 0.6837 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.4522, allocations: 0 / 0.6837 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.007865/0.4601, allocations: 1.955 MB / 0.6857 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.4602, allocations: 59.83 kB / 0.6857 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.4617, allocations: 0.9513 MB / 0.6866 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/0.4618, allocations: 37.7 kB / 0.6867 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.4623, allocations: 0.508 MB / 0.6872 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.4625, allocations: 181.3 kB / 0.6873 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.4627, allocations: 130.1 kB / 0.6875 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4628, allocations: 330 kB / 0.6878 GB, free: 264 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.4639, allocations: 358.9 kB / 0.6881 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.4652, allocations: 0.5029 MB / 0.6886 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.4673, allocations: 0.7619 MB / 0.6894 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4674, allocations: 4 kB / 0.6894 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003055/0.4704, allocations: 1.076 MB / 0.6904 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4704, allocations: 4 kB / 0.6904 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4705, allocations: 4 kB / 0.6904 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.4718, allocations: 320.5 kB / 0.6907 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.4724, allocations: 131.8 kB / 0.6909 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.474, allocations: 0.9102 MB / 0.6917 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.475, allocations: 127.3 kB / 0.6919 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.4751, allocations: 35.97 kB / 0.6919 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001448/0.4765, allocations: 0.5594 MB / 0.6924 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001171/0.4777, allocations: 0.503 MB / 0.6929 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002087/0.4798, allocations: 0.754 MB / 0.6937 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.4798, allocations: 0 / 0.6937 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003129/0.483, allocations: 1.06 MB / 0.6947 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.483, allocations: 8.312 kB / 0.6947 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.483, allocations: 4 kB / 0.6947 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.4842, allocations: 304.5 kB / 0.695 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.4849, allocations: 127.8 kB / 0.6951 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.4864, allocations: 0.9058 MB / 0.696 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/0.4874, allocations: 111.5 kB / 0.6961 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.4874, allocations: 31.98 kB / 0.6962 GB, free: 7.41 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.0002433/0.4877, allocations: 223.5 kB / 0.6964 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.4879, allocations: 110.6 kB / 0.6965 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/0.4912, allocations: 1.154 MB / 0.6976 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.4912, allocations: 8 kB / 0.6976 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4912, allocations: 0 / 0.6976 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.4913, allocations: 3.984 kB / 0.6976 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.496, allocations: 2.26 MB / 0.6998 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.496, allocations: 192 / 0.6998 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.4966, allocations: 107.8 kB / 0.6999 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.4976, allocations: 302.9 kB / 0.7002 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.4977, allocations: 15.98 kB / 0.7002 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.4992, allocations: 0.9425 MB / 0.7011 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.4992, allocations: 7.875 kB / 0.7012 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/0.503, allocations: 1.32 MB / 0.7024 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/0.5035, allocations: 275.5 kB / 0.7027 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.5037, allocations: 12 kB / 0.7027 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/0.5045, allocations: 83.91 kB / 0.7028 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.5046, allocations: 40.27 kB / 0.7028 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.5047, allocations: 31.91 kB / 0.7029 GB, free: 384 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009495/0.5056, allocations: 0.6754 MB / 0.7035 GB, free: 15.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5056, allocations: 0 / 0.7035 GB, free: 15.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001415/0.5071, allocations: 0.5653 MB / 0.7041 GB, free: 15.12 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.000749/0.5078, allocations: 381.2 kB / 0.7044 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004006/0.5118, allocations: 1.346 MB / 0.7058 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5119, allocations: 4 kB / 0.7058 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.5132, allocations: 456.8 kB / 0.7062 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.5153, allocations: 0.4967 MB / 0.7067 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.5192, allocations: 1.959 MB / 0.7086 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.5199, allocations: 1.062 MB / 0.7096 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.5202, allocations: 91.39 kB / 0.7097 GB, free: 9.289 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.5202, allocations: 0 / 0.7097 GB, free: 9.289 MB / 0.545 GB Notification: Performance of Templates: time 0.03192/0.5521, allocations: 24.02 MB / 0.7332 GB, free: 1.434 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)