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.001449/0.001449, allocations: 108.2 kB / 16.41 MB, free: 6.477 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.002114/0.002114, allocations: 195.8 kB / 17.34 MB, free: 5.75 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7705/0.7705, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 61.34 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1703, allocations: 76.18 MB / 0.6321 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06326/0.2336, allocations: 61.17 MB / 0.6918 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.255, allocations: 12 MB / 0.7035 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.2585, allocations: 59.62 kB / 0.7036 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002951/0.2615, allocations: 0.6947 MB / 0.7043 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008278/0.2699, allocations: 2.072 MB / 0.7063 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004547/0.2744, allocations: 1.206 MB / 0.7075 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005585/0.28, allocations: 3.106 MB / 0.7105 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.2824, allocations: 1.12 MB / 0.7116 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.2861, allocations: 1.366 MB / 0.7129 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.2882, allocations: 0.9218 MB / 0.7138 GB, free: 436 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004118/0.2886, allocations: 116 kB / 0.7139 GB, free: 320 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.2922, allocations: 1.45 MB / 0.7153 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004725/0.2927, allocations: 302.8 kB / 0.7156 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.2941, allocations: 0.6998 MB / 0.7163 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004785/0.2989, allocations: 2.322 MB / 0.7186 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.299, allocations: 3.984 kB / 0.7186 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.299, allocations: 0 / 0.7186 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.405e-05/0.2991, allocations: 0 / 0.7186 GB, free: 11.53 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.004599/0.3037, allocations: 1.747 MB / 0.7203 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3037, allocations: 8.031 kB / 0.7203 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/0.3064, allocations: 450.8 kB / 0.7207 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.3091, allocations: 1.183 MB / 0.7219 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.3092, allocations: 65.98 kB / 0.7219 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.3093, allocations: 88 kB / 0.722 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.3118, allocations: 0.9978 MB / 0.723 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.3119, allocations: 0 / 0.723 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.312, allocations: 28 kB / 0.723 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.312, allocations: 20 kB / 0.7231 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.3146, allocations: 0.9329 MB / 0.724 GB, free: 5.871 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.007929/0.3226, allocations: 4.671 MB / 0.7285 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00425/0.3269, allocations: 0.9934 MB / 0.7295 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.328, allocations: 409.8 kB / 0.7299 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.3292, allocations: 1.021 MB / 0.7309 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3292, allocations: 35 kB / 0.7309 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.036e-06/0.3292, allocations: 0 / 0.7309 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.008056/0.3373, allocations: 1.901 MB / 0.7328 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.3374, allocations: 71.72 kB / 0.7328 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.3393, allocations: 0.9436 MB / 0.7338 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.3394, allocations: 37.7 kB / 0.7338 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/0.3399, allocations: 0.5079 MB / 0.7343 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.3401, allocations: 189.4 kB / 0.7345 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.3404, allocations: 126.1 kB / 0.7346 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3405, allocations: 326 kB / 0.7349 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.3416, allocations: 354.9 kB / 0.7352 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.3429, allocations: 0.5069 MB / 0.7357 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.345, allocations: 0.7463 MB / 0.7365 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3451, allocations: 0 / 0.7365 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003197/0.3483, allocations: 1.057 MB / 0.7375 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3483, allocations: 9.406 kB / 0.7375 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3483, allocations: 7.938 kB / 0.7375 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.3496, allocations: 300.8 kB / 0.7378 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.3503, allocations: 135.8 kB / 0.7379 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.3519, allocations: 0.8903 MB / 0.7388 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.353, allocations: 119.4 kB / 0.7389 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.3531, allocations: 31.92 kB / 0.7389 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001468/0.3546, allocations: 0.5556 MB / 0.7395 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001229/0.3558, allocations: 0.4991 MB / 0.74 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002171/0.358, allocations: 0.754 MB / 0.7407 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.001e-06/0.358, allocations: 0 / 0.7407 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003111/0.3611, allocations: 1.045 MB / 0.7417 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3612, allocations: 8 kB / 0.7417 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3612, allocations: 320 / 0.7417 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.3623, allocations: 300.5 kB / 0.742 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.363, allocations: 127.8 kB / 0.7422 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.3644, allocations: 0.8995 MB / 0.743 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3655, allocations: 103.6 kB / 0.7431 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/0.3656, allocations: 31.98 kB / 0.7432 GB, free: 1.27 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.0002461/0.3659, allocations: 216.1 kB / 0.7434 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.3662, allocations: 106.7 kB / 0.7435 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3605/0.7267, allocations: 1.142 MB / 0.7446 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.7268, allocations: 6.141 kB / 0.7446 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.7268, allocations: 0.5625 kB / 0.7446 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.7268, allocations: 5.812 kB / 0.7446 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/0.732, allocations: 2.233 MB / 0.7468 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.7321, allocations: 3.094 kB / 0.7468 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.7327, allocations: 106.2 kB / 0.7469 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.7337, allocations: 290.2 kB / 0.7472 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.7338, allocations: 17.56 kB / 0.7472 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.7353, allocations: 0.9234 MB / 0.7481 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.7353, allocations: 2.219 kB / 0.7481 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/0.7394, allocations: 1.296 MB / 0.7493 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.7399, allocations: 280 kB / 0.7496 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.74, allocations: 9.172 kB / 0.7496 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.7409, allocations: 77.09 kB / 0.7497 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.741, allocations: 50.39 kB / 0.7497 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.7411, allocations: 27.03 kB / 0.7498 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001164/0.7423, allocations: 0.6657 MB / 0.7504 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7423, allocations: 3.438 kB / 0.7504 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001875/0.7441, allocations: 0.5742 MB / 0.751 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.0008728/0.745, allocations: 386.1 kB / 0.7513 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003835/0.7489, allocations: 1.3 MB / 0.7526 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7489, allocations: 0 / 0.7526 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.7502, allocations: 452 kB / 0.753 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.002292/0.7525, allocations: 496.5 kB / 0.7535 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.7572, allocations: 1.893 MB / 0.7554 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.7585, allocations: 1.068 MB / 0.7564 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001528/0.76, allocations: 225.1 kB / 0.7566 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.7604, allocations: 81.97 kB / 0.7567 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.562e-06/0.7604, allocations: 1.875 kB / 0.7567 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.04066/0.8011, allocations: 24.83 MB / 0.781 GB, free: 88.85 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)