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.000969/0.0009689, allocations: 96.5 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001135, allocations: 175.4 kB / 16.57 MB, free: 6.395 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.394/1.394, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7227/0.7227, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 12 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 77.14 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4102/0.5751, allocations: 51.26 MB / 0.6069 GB, free: 8.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01768/0.5928, allocations: 10.32 MB / 0.617 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.596, allocations: 53.72 kB / 0.617 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.5992, allocations: 0.628 MB / 0.6176 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008424/0.6077, allocations: 1.954 MB / 0.6195 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004922/0.6126, allocations: 1.311 MB / 0.6208 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005153/0.6178, allocations: 1.854 MB / 0.6226 GB, free: 14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.6198, allocations: 0.8334 MB / 0.6234 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.6234, allocations: 0.9801 MB / 0.6244 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.6254, allocations: 0.6168 MB / 0.625 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.6257, allocations: 43.88 kB / 0.625 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.6295, allocations: 1.001 MB / 0.626 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.6298, allocations: 196.7 kB / 0.6262 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008112/0.6307, allocations: 282.7 kB / 0.6265 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.6338, allocations: 1.603 MB / 0.628 GB, free: 11.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6338, allocations: 9.312 kB / 0.6281 GB, free: 11.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.216e-06/0.6338, allocations: 3.984 kB / 0.6281 GB, free: 11.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.909e-05/0.6339, allocations: 0 / 0.6281 GB, free: 11.29 MB / 462.1 MB 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.003726/0.6376, allocations: 1.493 MB / 0.6295 GB, free: 10.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.6377, allocations: 8.562 kB / 0.6295 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.6404, allocations: 0.5154 MB / 0.63 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.6427, allocations: 1.053 MB / 0.6311 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.6431, allocations: 136.1 kB / 0.6312 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.6432, allocations: 78.84 kB / 0.6313 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.6456, allocations: 1.027 MB / 0.6323 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.6456, allocations: 0 / 0.6323 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.6457, allocations: 40.86 kB / 0.6323 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.6458, allocations: 17.62 kB / 0.6323 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.6483, allocations: 0.9995 MB / 0.6333 GB, free: 7.848 MB / 462.1 MB 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.007005/0.6553, allocations: 4.725 MB / 0.6379 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/0.6595, allocations: 1.121 MB / 0.639 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.6606, allocations: 1.033 MB / 0.64 GB, free: 2.004 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.6606, allocations: 42.25 kB / 0.64 GB, free: 1.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.685e-06/0.6606, allocations: 0 / 0.64 GB, free: 1.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=53): time 0.00798/0.6686, allocations: 2.135 MB / 0.6421 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.6687, allocations: 60.81 kB / 0.6422 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.6701, allocations: 0.9446 MB / 0.6431 GB, free: 344 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.636e-05/0.6702, allocations: 40.61 kB / 0.6432 GB, free: 300 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.6706, allocations: 0.5117 MB / 0.6437 GB, free: 15.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.6708, allocations: 180.6 kB / 0.6438 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.6708, allocations: 15.38 kB / 0.6438 GB, free: 15.67 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6709, allocations: 324.8 kB / 0.6442 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.6719, allocations: 380.7 kB / 0.6445 GB, free: 15.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.6731, allocations: 0.5315 MB / 0.645 GB, free: 14.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.6741, allocations: 404.4 kB / 0.6454 GB, free: 14.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6742, allocations: 0 / 0.6454 GB, free: 14.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003921/0.6781, allocations: 1.287 MB / 0.6467 GB, free: 13.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003549/0.6785, allocations: 0.9771 MB / 0.6476 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.6785, allocations: 4 kB / 0.6476 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.6798, allocations: 321.3 kB / 0.6479 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.6804, allocations: 147.8 kB / 0.6481 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.6819, allocations: 0.9366 MB / 0.649 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.6833, allocations: 182.9 kB / 0.6492 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.6834, allocations: 31.97 kB / 0.6492 GB, free: 10.47 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.6834, allocations: 4 kB / 0.6492 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003818/0.6873, allocations: 1.146 MB / 0.6503 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6873, allocations: 8.312 kB / 0.6503 GB, free: 9.305 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.6885, allocations: 312.6 kB / 0.6506 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/0.6893, allocations: 143.8 kB / 0.6508 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.6909, allocations: 0.9366 MB / 0.6517 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.6924, allocations: 163.4 kB / 0.6518 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.6925, allocations: 27.98 kB / 0.6519 GB, free: 7.707 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006619/0.6932, allocations: 358.8 kB / 0.6522 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.6935, allocations: 110.7 kB / 0.6523 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/0.6969, allocations: 1.218 MB / 0.6535 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.6969, allocations: 12 kB / 0.6535 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6969, allocations: 0 / 0.6535 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6969, allocations: 7.969 kB / 0.6535 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/0.7022, allocations: 2.334 MB / 0.6558 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.7022, allocations: 7.984 kB / 0.6558 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.7028, allocations: 112 kB / 0.6559 GB, free: 3.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.7039, allocations: 312.6 kB / 0.6562 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.704, allocations: 23.92 kB / 0.6562 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.7056, allocations: 0.9757 MB / 0.6572 GB, free: 2.137 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.7056, allocations: 4.031 kB / 0.6572 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004115/0.7097, allocations: 1.471 MB / 0.6586 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008846/0.7106, allocations: 295.4 kB / 0.6589 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/0.7109, allocations: 19.94 kB / 0.6589 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.7121, allocations: 131.7 kB / 0.6591 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.7123, allocations: 36.39 kB / 0.6591 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.7123, allocations: 23.98 kB / 0.6591 GB, free: 76 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001168/0.7135, allocations: 0.6715 MB / 0.6598 GB, free: 15.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7135, allocations: 0 / 0.6598 GB, free: 15.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002094/0.7156, allocations: 0.5614 MB / 0.6603 GB, free: 14.83 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008697/0.7165, allocations: 399.9 kB / 0.6607 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003864/0.7204, allocations: 1.381 MB / 0.662 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.7204, allocations: 0 / 0.662 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.7217, allocations: 492.8 kB / 0.6625 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.7243, allocations: 0.4967 MB / 0.663 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.7287, allocations: 2.317 MB / 0.6653 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.7295, allocations: 1.094 MB / 0.6663 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001116/0.7306, allocations: 236.5 kB / 0.6666 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.7308, allocations: 79.41 kB / 0.6666 GB, free: 8.277 MB / 494.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7308, allocations: 4 kB / 0.6666 GB, free: 8.273 MB / 494.1 MB Notification: Performance of Templates: time 0.03859/0.7694, allocations: 23.26 MB / 0.6894 GB, free: 1.301 MB / 0.4981 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)