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.000852/0.000852, allocations: 98.97 kB / 16.02 MB, free: 80 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.0009903/0.0009901, allocations: 179.1 kB / 16.92 MB, free: 6.922 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7194/0.7194, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003693, allocations: 8 kB / 495.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1619, allocations: 77.53 MB / 0.5599 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3904/0.5523, allocations: 59.71 MB / 0.6183 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02039/0.5728, allocations: 11.92 MB / 0.6299 GB, free: 7.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003579/0.5764, allocations: 52.91 kB / 0.6299 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003076/0.5795, allocations: 0.546 MB / 0.6305 GB, free: 6.879 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0075/0.5871, allocations: 1.806 MB / 0.6322 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.5908, allocations: 1.091 MB / 0.6333 GB, free: 5.129 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006377/0.5972, allocations: 3.901 MB / 0.6371 GB, free: 2.949 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.5995, allocations: 0.9202 MB / 0.638 GB, free: 2.363 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.6027, allocations: 1.119 MB / 0.6391 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.6049, allocations: 0.8714 MB / 0.64 GB, free: 1.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003627/0.6053, allocations: 45.34 kB / 0.64 GB, free: 1.207 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/0.6093, allocations: 1.33 MB / 0.6413 GB, free: 464 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000395/0.6097, allocations: 220.1 kB / 0.6415 GB, free: 296 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.6111, allocations: 0.6389 MB / 0.6421 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004881/0.616, allocations: 2.209 MB / 0.6443 GB, free: 14.42 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.616, allocations: 3.375 kB / 0.6443 GB, free: 14.42 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.616, allocations: 4 kB / 0.6443 GB, free: 14.42 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.306e-05/0.6161, allocations: 0 / 0.6443 GB, free: 14.42 MB / 478.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.003833/0.62, allocations: 1.499 MB / 0.6458 GB, free: 13.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.62, allocations: 8.281 kB / 0.6458 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.6228, allocations: 0.5158 MB / 0.6463 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.6254, allocations: 1.137 MB / 0.6474 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/0.6258, allocations: 133.3 kB / 0.6475 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.626, allocations: 81.56 kB / 0.6476 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.6284, allocations: 1.035 MB / 0.6486 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.6284, allocations: 3.938 kB / 0.6486 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.6285, allocations: 30.25 kB / 0.6486 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.6285, allocations: 18.34 kB / 0.6487 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.6313, allocations: 0.9978 MB / 0.6496 GB, free: 10.91 MB / 478.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.007346/0.6387, allocations: 4.714 MB / 0.6542 GB, free: 5.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/0.6431, allocations: 1.126 MB / 0.6553 GB, free: 4.719 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.6444, allocations: 437.9 kB / 0.6557 GB, free: 4.289 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.6455, allocations: 1.033 MB / 0.6568 GB, free: 3.035 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.6456, allocations: 42.94 kB / 0.6568 GB, free: 2.984 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 3.036e-06/0.6456, allocations: 4 kB / 0.6568 GB, free: 2.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.008652/0.6542, allocations: 2.139 MB / 0.6589 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6543, allocations: 67.77 kB / 0.659 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.6562, allocations: 0.9435 MB / 0.6599 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.6563, allocations: 41.64 kB / 0.6599 GB, free: 15.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005081/0.6568, allocations: 0.5081 MB / 0.6604 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.6571, allocations: 189.1 kB / 0.6606 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.6572, allocations: 49.69 kB / 0.6606 GB, free: 14.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6573, allocations: 330 kB / 0.661 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.6585, allocations: 380.9 kB / 0.6613 GB, free: 14.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.6598, allocations: 0.5382 MB / 0.6618 GB, free: 13.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.6621, allocations: 0.8243 MB / 0.6626 GB, free: 12.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6621, allocations: 0 / 0.6626 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003339/0.6654, allocations: 1.131 MB / 0.6638 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.6656, allocations: 172.4 kB / 0.6639 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6656, allocations: 0 / 0.6639 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.667, allocations: 329.3 kB / 0.6642 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.6677, allocations: 147.8 kB / 0.6644 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.6692, allocations: 0.9386 MB / 0.6653 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.6706, allocations: 171.3 kB / 0.6655 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.6707, allocations: 35.86 kB / 0.6655 GB, free: 9.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6707, allocations: 6.188 kB / 0.6655 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002913/0.6737, allocations: 1.005 MB / 0.6665 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.6737, allocations: 0 / 0.6665 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.6749, allocations: 322.4 kB / 0.6668 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.6756, allocations: 139.8 kB / 0.6669 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.6773, allocations: 0.9368 MB / 0.6678 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.6789, allocations: 171.4 kB / 0.668 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.679, allocations: 27.98 kB / 0.668 GB, free: 7.215 MB / 494.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 (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.000732/0.6797, allocations: 352.9 kB / 0.6684 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.68, allocations: 110.6 kB / 0.6685 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.6832, allocations: 1.224 MB / 0.6697 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.6833, allocations: 4 kB / 0.6697 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.6833, allocations: 0 / 0.6697 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.6833, allocations: 11.98 kB / 0.6697 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/0.6881, allocations: 2.323 MB / 0.6719 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.6881, allocations: 4 kB / 0.6719 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.6887, allocations: 112 kB / 0.672 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.6898, allocations: 324.5 kB / 0.6724 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.6899, allocations: 19.98 kB / 0.6724 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.6914, allocations: 0.966 MB / 0.6733 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.6914, allocations: 11.91 kB / 0.6733 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/0.6953, allocations: 1.398 MB / 0.6747 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005843/0.6959, allocations: 291.5 kB / 0.675 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.6961, allocations: 12 kB / 0.675 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/0.697, allocations: 127.8 kB / 0.6751 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.6971, allocations: 40.31 kB / 0.6751 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.6972, allocations: 23.98 kB / 0.6752 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008909/0.6981, allocations: 0.6637 MB / 0.6758 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6981, allocations: 0 / 0.6758 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001499/0.6996, allocations: 0.5769 MB / 0.6764 GB, free: 14.46 MB / 0.4981 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.0007649/0.7004, allocations: 384 kB / 0.6767 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003879/0.7043, allocations: 1.397 MB / 0.6781 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7043, allocations: 0 / 0.6781 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.7056, allocations: 492.8 kB / 0.6786 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.7083, allocations: 0.4998 MB / 0.6791 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.7125, allocations: 2.366 MB / 0.6814 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.7131, allocations: 1.074 MB / 0.6824 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001008/0.7141, allocations: 228.5 kB / 0.6826 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.7144, allocations: 75.42 kB / 0.6827 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.7144, allocations: 0 / 0.6827 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of Templates: time 0.04127/0.7557, allocations: 23.58 MB / 0.7058 GB, free: 0.5938 MB / 0.5137 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)