Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001365/0.001365, allocations: 120.7 kB / 17.09 MB, free: 6.008 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.001377/0.001377, allocations: 189.9 kB / 18.02 MB, free: 5.09 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7345/0.7345, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 66.73 kB / 0.5583 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05528/0.2009, allocations: 61.17 MB / 0.6925 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01608/0.217, allocations: 12 MB / 0.7042 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.2197, allocations: 59.62 kB / 0.7042 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.2219, allocations: 0.6791 MB / 0.7049 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005811/0.2277, allocations: 1.963 MB / 0.7068 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.2308, allocations: 1.219 MB / 0.708 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004407/0.2353, allocations: 3.087 MB / 0.711 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.2373, allocations: 1.124 MB / 0.7121 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.2408, allocations: 1.357 MB / 0.7134 GB, free: 1.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.2426, allocations: 0.9178 MB / 0.7143 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003858/0.243, allocations: 124 kB / 0.7145 GB, free: 408 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.2464, allocations: 1.45 MB / 0.7159 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004672/0.2469, allocations: 302.8 kB / 0.7162 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.2482, allocations: 0.7036 MB / 0.7168 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.2525, allocations: 2.31 MB / 0.7191 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2525, allocations: 4 kB / 0.7191 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2525, allocations: 3.938 kB / 0.7191 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-05/0.2526, allocations: 0 / 0.7191 GB, free: 11.62 MB / 0.5606 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.00373/0.2563, allocations: 1.742 MB / 0.7208 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2564, allocations: 8.031 kB / 0.7208 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/0.2589, allocations: 458.8 kB / 0.7213 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.2614, allocations: 1.175 MB / 0.7224 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.2615, allocations: 66 kB / 0.7225 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.2616, allocations: 80 kB / 0.7225 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.2638, allocations: 1.002 MB / 0.7235 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2639, allocations: 0 / 0.7235 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/0.264, allocations: 32 kB / 0.7236 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.264, allocations: 20 kB / 0.7236 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.2667, allocations: 0.9329 MB / 0.7245 GB, free: 5.965 MB / 0.5606 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.006657/0.2733, allocations: 4.667 MB / 0.729 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.2775, allocations: 0.9935 MB / 0.73 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.2787, allocations: 413.9 kB / 0.7304 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.2798, allocations: 1.021 MB / 0.7314 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.2798, allocations: 43 kB / 0.7314 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 4.148e-06/0.2798, allocations: 3.984 kB / 0.7314 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.008102/0.2879, allocations: 1.897 MB / 0.7333 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.288, allocations: 59.78 kB / 0.7334 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.2894, allocations: 0.9475 MB / 0.7343 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.2895, allocations: 37.7 kB / 0.7343 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005257/0.29, allocations: 0.5118 MB / 0.7348 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.2902, allocations: 185.4 kB / 0.735 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.2905, allocations: 130.1 kB / 0.7351 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2906, allocations: 326 kB / 0.7354 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.2917, allocations: 354.8 kB / 0.7358 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.2929, allocations: 0.5069 MB / 0.7363 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.295, allocations: 0.7463 MB / 0.737 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.295, allocations: 0 / 0.737 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003102/0.2981, allocations: 1.061 MB / 0.738 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.2982, allocations: 12.03 kB / 0.738 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2982, allocations: 3.938 kB / 0.738 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.2995, allocations: 296.5 kB / 0.7383 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.3002, allocations: 139.8 kB / 0.7385 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.3018, allocations: 0.8879 MB / 0.7393 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3029, allocations: 119.4 kB / 0.7394 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.303, allocations: 27.98 kB / 0.7395 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001412/0.3044, allocations: 0.5596 MB / 0.74 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/0.3056, allocations: 0.5029 MB / 0.7405 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002063/0.3077, allocations: 0.7461 MB / 0.7412 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.3077, allocations: 0 / 0.7412 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00302/0.3107, allocations: 1.053 MB / 0.7423 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3108, allocations: 8 kB / 0.7423 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3108, allocations: 0 / 0.7423 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.3119, allocations: 295.6 kB / 0.7426 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/0.3125, allocations: 131.8 kB / 0.7427 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.3139, allocations: 0.8917 MB / 0.7435 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.315, allocations: 107.7 kB / 0.7436 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.3151, allocations: 27.98 kB / 0.7437 GB, free: 1.367 MB / 0.5762 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.0002438/0.3153, allocations: 224.1 kB / 0.7439 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.3155, allocations: 106.7 kB / 0.744 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3198/0.6354, allocations: 1.133 MB / 0.7451 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/0.6355, allocations: 10.97 kB / 0.7451 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.6355, allocations: 1.797 kB / 0.7451 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.6355, allocations: 3.406 kB / 0.7451 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/0.6408, allocations: 2.238 MB / 0.7473 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.6408, allocations: 1.062 kB / 0.7473 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.6414, allocations: 102.5 kB / 0.7474 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.6424, allocations: 301.9 kB / 0.7477 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.6425, allocations: 17.94 kB / 0.7477 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.6439, allocations: 0.92 MB / 0.7486 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6439, allocations: 1.375 kB / 0.7486 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003797/0.6477, allocations: 1.298 MB / 0.7499 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.6482, allocations: 274.4 kB / 0.7501 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.6484, allocations: 14.83 kB / 0.7501 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/0.6493, allocations: 77.17 kB / 0.7502 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6494, allocations: 46.02 kB / 0.7503 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.6494, allocations: 23.8 kB / 0.7503 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001057/0.6505, allocations: 0.671 MB / 0.7509 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6505, allocations: 0 / 0.7509 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001588/0.6521, allocations: 0.5737 MB / 0.7515 GB, free: 107.5 MB / 0.5762 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.0008557/0.653, allocations: 379 kB / 0.7519 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003804/0.6568, allocations: 1.305 MB / 0.7531 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6568, allocations: 1.531 kB / 0.7531 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.6581, allocations: 453 kB / 0.7536 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.6605, allocations: 497.6 kB / 0.754 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.6645, allocations: 1.921 MB / 0.7559 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/0.6653, allocations: 1.069 MB / 0.757 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.6657, allocations: 91.17 kB / 0.7571 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.6657, allocations: 0.5 kB / 0.7571 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.0305/0.6962, allocations: 24.12 MB / 0.7806 GB, free: 89.8 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)