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.001282/0.001282, allocations: 102.5 kB / 16.4 MB, free: 6.492 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.001401/0.001401, allocations: 196 kB / 17.34 MB, free: 5.73 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7388/0.7388, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 65.52 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1726, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06291/0.2355, allocations: 61.16 MB / 0.6918 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.2554, allocations: 12.01 MB / 0.7035 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.2581, allocations: 59.62 kB / 0.7036 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.2605, allocations: 0.6791 MB / 0.7042 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.2669, allocations: 1.967 MB / 0.7062 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003539/0.2704, allocations: 1.211 MB / 0.7073 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004509/0.275, allocations: 3.092 MB / 0.7104 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.2772, allocations: 1.124 MB / 0.7115 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.2809, allocations: 1.353 MB / 0.7128 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.2828, allocations: 0.9256 MB / 0.7137 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004249/0.2832, allocations: 120 kB / 0.7138 GB, free: 412 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.2867, allocations: 1.447 MB / 0.7152 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.2872, allocations: 306.8 kB / 0.7155 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.2884, allocations: 0.6997 MB / 0.7162 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004926/0.2933, allocations: 2.314 MB / 0.7184 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2934, allocations: 0 / 0.7184 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2934, allocations: 0 / 0.7184 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.11e-05/0.2934, allocations: 4 kB / 0.7185 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.004002/0.2974, allocations: 1.75 MB / 0.7202 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2975, allocations: 8.031 kB / 0.7202 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.3001, allocations: 454.8 kB / 0.7206 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.3026, allocations: 1.175 MB / 0.7217 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.3027, allocations: 62 kB / 0.7218 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.3029, allocations: 84 kB / 0.7219 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.3051, allocations: 0.9978 MB / 0.7229 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.3051, allocations: 0 / 0.7229 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.24e-05/0.3052, allocations: 32 kB / 0.7229 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.3052, allocations: 20 kB / 0.7229 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.3077, allocations: 0.9329 MB / 0.7238 GB, free: 5.973 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.006631/0.3144, allocations: 4.671 MB / 0.7284 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/0.3184, allocations: 0.9973 MB / 0.7294 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.3194, allocations: 414.8 kB / 0.7298 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009556/0.3204, allocations: 1.017 MB / 0.7307 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.3204, allocations: 39 kB / 0.7308 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.695e-06/0.3204, allocations: 0 / 0.7308 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007363/0.3278, allocations: 1.901 MB / 0.7326 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3279, allocations: 63.78 kB / 0.7327 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.3293, allocations: 0.9475 MB / 0.7336 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/0.3294, allocations: 37.7 kB / 0.7337 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.3298, allocations: 0.5118 MB / 0.7342 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.33, allocations: 181.4 kB / 0.7343 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.3302, allocations: 126.1 kB / 0.7345 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3303, allocations: 326 kB / 0.7348 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009893/0.3313, allocations: 358.9 kB / 0.7351 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3325, allocations: 0.5068 MB / 0.7356 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.3345, allocations: 0.7502 MB / 0.7363 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3345, allocations: 0 / 0.7363 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002939/0.3374, allocations: 1.057 MB / 0.7374 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.3375, allocations: 11.98 kB / 0.7374 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3375, allocations: 3.938 kB / 0.7374 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.3387, allocations: 300.8 kB / 0.7377 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.3394, allocations: 131.8 kB / 0.7378 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.3408, allocations: 0.8956 MB / 0.7387 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.3419, allocations: 119.4 kB / 0.7388 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/0.342, allocations: 27.98 kB / 0.7388 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001356/0.3434, allocations: 0.5524 MB / 0.7394 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00116/0.3445, allocations: 0.5069 MB / 0.7398 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001995/0.3465, allocations: 0.7461 MB / 0.7406 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.3466, allocations: 0 / 0.7406 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002939/0.3495, allocations: 1.049 MB / 0.7416 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3495, allocations: 4.312 kB / 0.7416 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3495, allocations: 8 kB / 0.7416 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.3506, allocations: 295 kB / 0.7419 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.3513, allocations: 131.8 kB / 0.742 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.3528, allocations: 0.8917 MB / 0.7429 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.3539, allocations: 107.7 kB / 0.743 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/0.354, allocations: 27.98 kB / 0.743 GB, free: 1.375 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.0002838/0.3543, allocations: 216.1 kB / 0.7432 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.3547, allocations: 106.7 kB / 0.7433 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4054/0.7601, allocations: 1.146 MB / 0.7444 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/0.7601, allocations: 6.375 kB / 0.7445 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.7602, allocations: 4.703 kB / 0.7445 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.7602, allocations: 2.859 kB / 0.7445 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005212/0.7654, allocations: 2.236 MB / 0.7466 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.7654, allocations: 1.156 kB / 0.7466 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.766, allocations: 107.3 kB / 0.7467 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.7671, allocations: 292.2 kB / 0.747 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.7672, allocations: 18.98 kB / 0.747 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.7685, allocations: 0.9249 MB / 0.7479 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7685, allocations: 2.844 kB / 0.7479 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.7722, allocations: 1.287 MB / 0.7492 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005321/0.7728, allocations: 277.5 kB / 0.7495 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.7729, allocations: 12.7 kB / 0.7495 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008611/0.7738, allocations: 77.97 kB / 0.7496 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.7739, allocations: 46.86 kB / 0.7496 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.229e-05/0.7739, allocations: 24.33 kB / 0.7496 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009939/0.7749, allocations: 0.6698 MB / 0.7503 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.7e-07/0.7749, allocations: 3.188 kB / 0.7503 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001697/0.7766, allocations: 0.5717 MB / 0.7508 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.0008804/0.7775, allocations: 385.4 kB / 0.7512 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003585/0.7811, allocations: 1.299 MB / 0.7525 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7812, allocations: 1.562 kB / 0.7525 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.7824, allocations: 452.7 kB / 0.7529 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.002371/0.7847, allocations: 0.4946 MB / 0.7534 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.7888, allocations: 1.893 MB / 0.7552 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/0.7896, allocations: 1.069 MB / 0.7563 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001032/0.7906, allocations: 229.6 kB / 0.7565 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.7909, allocations: 82.64 kB / 0.7566 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.7909, allocations: 0 / 0.7566 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.03988/0.8308, allocations: 24.82 MB / 0.7808 GB, free: 89.05 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)