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.001116/0.001116, allocations: 101.8 kB / 16.4 MB, free: 6.512 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.001119/0.001119, allocations: 192 kB / 17.34 MB, free: 5.738 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8271/0.8271, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.09 kB / 0.5684 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1547, allocations: 77.93 MB / 0.6446 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07248/0.2272, allocations: 61.17 MB / 0.7043 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.2441, allocations: 12 MB / 0.716 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.2464, allocations: 59.62 kB / 0.7161 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.2483, allocations: 0.6791 MB / 0.7167 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006762/0.2551, allocations: 1.967 MB / 0.7187 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.2591, allocations: 1.208 MB / 0.7198 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005597/0.2647, allocations: 3.091 MB / 0.7228 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.2668, allocations: 1.131 MB / 0.724 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.2707, allocations: 1.323 MB / 0.7252 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.2723, allocations: 0.9179 MB / 0.7261 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.2725, allocations: 116 kB / 0.7263 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.2757, allocations: 1.454 MB / 0.7277 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.2761, allocations: 302.8 kB / 0.728 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.2773, allocations: 0.7036 MB / 0.7286 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005379/0.2826, allocations: 2.324 MB / 0.7309 GB, free: 284 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.2827, allocations: 0 / 0.7309 GB, free: 284 kB / 0.5606 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2827, allocations: 0 / 0.7309 GB, free: 284 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.758e-05/0.2827, allocations: 0 / 0.7309 GB, free: 284 kB / 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.004401/0.2871, allocations: 1.798 MB / 0.7327 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2872, allocations: 8.625 kB / 0.7327 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.29, allocations: 463.5 kB / 0.7331 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.2925, allocations: 1.184 MB / 0.7343 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.2926, allocations: 69.94 kB / 0.7343 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.2928, allocations: 84 kB / 0.7344 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.2952, allocations: 0.9939 MB / 0.7354 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2952, allocations: 4 kB / 0.7354 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.2953, allocations: 28 kB / 0.7354 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.2954, allocations: 20 kB / 0.7354 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.2979, allocations: 0.9368 MB / 0.7364 GB, free: 10.55 MB / 0.5762 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.006002/0.3039, allocations: 4.691 MB / 0.7409 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.3078, allocations: 0.9962 MB / 0.7419 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.3089, allocations: 401.9 kB / 0.7423 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.3099, allocations: 1.021 MB / 0.7433 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3099, allocations: 35 kB / 0.7433 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.136e-06/0.31, allocations: 0 / 0.7433 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007678/0.3176, allocations: 1.913 MB / 0.7452 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3177, allocations: 59.78 kB / 0.7453 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3474/0.6651, allocations: 0.9444 MB / 0.7462 GB, free: 99.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.6654, allocations: 37.98 kB / 0.7462 GB, free: 98.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/0.6659, allocations: 0.5089 MB / 0.7467 GB, free: 98.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.6661, allocations: 197.3 kB / 0.7469 GB, free: 98.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.6664, allocations: 127.5 kB / 0.747 GB, free: 98.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.6665, allocations: 325.7 kB / 0.7473 GB, free: 98.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.6677, allocations: 351.4 kB / 0.7477 GB, free: 98.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.669, allocations: 0.5068 MB / 0.7482 GB, free: 98.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.6711, allocations: 0.7554 MB / 0.7489 GB, free: 98.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.6711, allocations: 5.156 kB / 0.7489 GB, free: 98.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003085/0.6742, allocations: 1.055 MB / 0.7499 GB, free: 97.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.6742, allocations: 5.906 kB / 0.7499 GB, free: 97.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6743, allocations: 9.969 kB / 0.75 GB, free: 97.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.6755, allocations: 298.8 kB / 0.7502 GB, free: 97.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.6762, allocations: 135.8 kB / 0.7504 GB, free: 97.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.6776, allocations: 0.8905 MB / 0.7512 GB, free: 97.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.6787, allocations: 118.7 kB / 0.7513 GB, free: 97.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.6788, allocations: 33.22 kB / 0.7514 GB, free: 97.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/0.6801, allocations: 0.5504 MB / 0.7519 GB, free: 96.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001123/0.6812, allocations: 0.5018 MB / 0.7524 GB, free: 96.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002126/0.6834, allocations: 0.743 MB / 0.7531 GB, free: 96.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-06/0.6834, allocations: 4.25 kB / 0.7531 GB, free: 96.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003288/0.6867, allocations: 1.048 MB / 0.7542 GB, free: 95.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6867, allocations: 8.797 kB / 0.7542 GB, free: 95.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.6867, allocations: 3 kB / 0.7542 GB, free: 95.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.6879, allocations: 294.3 kB / 0.7545 GB, free: 95.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/0.6887, allocations: 136.6 kB / 0.7546 GB, free: 95.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.6903, allocations: 0.8987 MB / 0.7555 GB, free: 95.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.6915, allocations: 107.5 kB / 0.7556 GB, free: 95.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/0.6916, allocations: 31.33 kB / 0.7556 GB, free: 95.13 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.0002886/0.6919, allocations: 218.7 kB / 0.7558 GB, free: 94.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.6921, allocations: 115.4 kB / 0.7559 GB, free: 94.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.6954, allocations: 1.141 MB / 0.757 GB, free: 94.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.6955, allocations: 6.516 kB / 0.757 GB, free: 94.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6955, allocations: 1.219 kB / 0.757 GB, free: 94.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6955, allocations: 3.141 kB / 0.757 GB, free: 94.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004865/0.7004, allocations: 2.248 MB / 0.7592 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.7004, allocations: 2.406 kB / 0.7592 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/0.701, allocations: 104.2 kB / 0.7593 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.7021, allocations: 296.2 kB / 0.7596 GB, free: 93.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.7022, allocations: 18.22 kB / 0.7596 GB, free: 93.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.7037, allocations: 0.9209 MB / 0.7605 GB, free: 92.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7037, allocations: 5.656 kB / 0.7605 GB, free: 92.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004034/0.7077, allocations: 1.299 MB / 0.7618 GB, free: 92.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006338/0.7084, allocations: 282.4 kB / 0.7621 GB, free: 91.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.7086, allocations: 17.47 kB / 0.7621 GB, free: 91.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008849/0.7095, allocations: 78.42 kB / 0.7622 GB, free: 91.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.7096, allocations: 43.23 kB / 0.7622 GB, free: 91.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/0.7097, allocations: 25.27 kB / 0.7622 GB, free: 91.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001319/0.711, allocations: 0.6656 MB / 0.7629 GB, free: 91.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.711, allocations: 4 kB / 0.7629 GB, free: 91.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001959/0.713, allocations: 0.5769 MB / 0.7634 GB, free: 91.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.0008548/0.7139, allocations: 392.5 kB / 0.7638 GB, free: 91.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00422/0.7181, allocations: 1.294 MB / 0.7651 GB, free: 90.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.7181, allocations: 0 / 0.7651 GB, free: 90.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.7195, allocations: 457.6 kB / 0.7655 GB, free: 90.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.722, allocations: 497.4 kB / 0.766 GB, free: 90.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.7258, allocations: 1.923 MB / 0.7679 GB, free: 89.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.7264, allocations: 1.072 MB / 0.7689 GB, free: 88.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009692/0.7274, allocations: 232.9 kB / 0.7691 GB, free: 88.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.7277, allocations: 82.92 kB / 0.7692 GB, free: 88.92 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.7277, allocations: 0 / 0.7692 GB, free: 88.92 MB / 0.5762 GB Notification: Performance of Templates: time 0.03359/0.7613, allocations: 24.81 MB / 0.7935 GB, free: 68.59 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)