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.001345/0.001345, allocations: 104.6 kB / 16.64 MB, free: 6.375 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.001364/0.001364, allocations: 184.1 kB / 17.56 MB, free: 5.801 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.41/1.41, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8187/0.8187, allocations: 125.4 MB / 416.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 64.09 kB / 0.4943 GB, free: 4.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4119, allocations: 78.56 MB / 0.571 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07097/0.4829, allocations: 73.28 MB / 0.6426 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02201/0.505, allocations: 13.65 MB / 0.6559 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.5081, allocations: 67.56 kB / 0.656 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002951/0.5111, allocations: 0.6606 MB / 0.6566 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007313/0.5185, allocations: 2.032 MB / 0.6586 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004736/0.5233, allocations: 1.523 MB / 0.6601 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007476/0.5308, allocations: 3.736 MB / 0.6637 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.5331, allocations: 1.29 MB / 0.665 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004881/0.538, allocations: 1.802 MB / 0.6667 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.5402, allocations: 1.124 MB / 0.6678 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003533/0.5406, allocations: 140 kB / 0.668 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.5447, allocations: 1.708 MB / 0.6696 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005242/0.5452, allocations: 354.6 kB / 0.67 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.5468, allocations: 0.8513 MB / 0.6708 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003905/0.5507, allocations: 2.062 MB / 0.6728 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5507, allocations: 0 / 0.6728 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5507, allocations: 0 / 0.6728 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.747e-05/0.5507, allocations: 0 / 0.6728 GB, free: 15.23 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004082/0.5548, allocations: 2.017 MB / 0.6748 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5549, allocations: 8.031 kB / 0.6748 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.5576, allocations: 489.5 kB / 0.6753 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.5604, allocations: 1.274 MB / 0.6765 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/0.5608, allocations: 137.9 kB / 0.6766 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.561, allocations: 96 kB / 0.6767 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.5636, allocations: 1.207 MB / 0.6779 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.5637, allocations: 3.938 kB / 0.6779 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5638, allocations: 47.94 kB / 0.678 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.5638, allocations: 31.92 kB / 0.678 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/0.5667, allocations: 1.058 MB / 0.679 GB, free: 8.703 MB / 0.5137 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.008868/0.5756, allocations: 6.303 MB / 0.6852 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.5784, allocations: 0.9359 MB / 0.6861 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.5796, allocations: 454.3 kB / 0.6865 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/0.5812, allocations: 1.679 MB / 0.6882 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.5813, allocations: 39.12 kB / 0.6882 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=65): time 2.625e-06/0.5813, allocations: 0 / 0.6882 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65): time 0.009026/0.5903, allocations: 2.236 MB / 0.6904 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.5904, allocations: 59.97 kB / 0.6904 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.5922, allocations: 1.111 MB / 0.6915 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/0.5923, allocations: 41.7 kB / 0.6916 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000565/0.5929, allocations: 0.6297 MB / 0.6922 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.5932, allocations: 228.7 kB / 0.6924 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.5935, allocations: 174.4 kB / 0.6926 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.5937, allocations: 334 kB / 0.6929 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.5949, allocations: 400.6 kB / 0.6933 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.5963, allocations: 0.6123 MB / 0.6939 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.5986, allocations: 0.9222 MB / 0.6948 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.5987, allocations: 4 kB / 0.6948 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003533/0.6022, allocations: 1.227 MB / 0.696 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.6022, allocations: 14.23 kB / 0.696 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.6023, allocations: 8 kB / 0.696 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.6037, allocations: 314.3 kB / 0.6963 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.6045, allocations: 171.7 kB / 0.6965 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.6063, allocations: 0.9191 MB / 0.6974 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.6079, allocations: 187.1 kB / 0.6975 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.608, allocations: 39.98 kB / 0.6976 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001654/0.6097, allocations: 0.6229 MB / 0.6982 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001336/0.611, allocations: 0.6082 MB / 0.6988 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002312/0.6134, allocations: 0.9105 MB / 0.6997 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/0.6134, allocations: 0 / 0.6997 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.003521/0.6169, allocations: 1.234 MB / 0.7009 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6169, allocations: 8.562 kB / 0.7009 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.6169, allocations: 4 kB / 0.7009 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.6181, allocations: 306.8 kB / 0.7012 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.6189, allocations: 171.7 kB / 0.7013 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.6204, allocations: 0.9074 MB / 0.7022 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.622, allocations: 181.9 kB / 0.7024 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.6222, allocations: 39.91 kB / 0.7024 GB, free: 15.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (75): * Single equations (assignments): 74 * 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.0003552/0.6225, allocations: 236 kB / 0.7027 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.6228, allocations: 130.4 kB / 0.7028 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/0.6268, allocations: 1.544 MB / 0.7043 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.6269, allocations: 11.94 kB / 0.7043 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6269, allocations: 0 / 0.7043 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6269, allocations: 3.984 kB / 0.7043 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/0.6343, allocations: 2.898 MB / 0.7071 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.6343, allocations: 4 kB / 0.7071 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.6349, allocations: 124 kB / 0.7073 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.636, allocations: 308.4 kB / 0.7076 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.6361, allocations: 19.98 kB / 0.7076 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.6377, allocations: 0.9443 MB / 0.7085 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6378, allocations: 0 / 0.7085 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004949/0.6427, allocations: 1.6 MB / 0.7101 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/0.6436, allocations: 335 kB / 0.7104 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.6438, allocations: 15.98 kB / 0.7104 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6449, allocations: 131.7 kB / 0.7105 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.645, allocations: 52.52 kB / 0.7106 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.453e-05/0.6451, allocations: 39.98 kB / 0.7106 GB, free: 6.863 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001258/0.6464, allocations: 0.7749 MB / 0.7114 GB, free: 6.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6464, allocations: 0 / 0.7114 GB, free: 6.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002091/0.6485, allocations: 0.7173 MB / 0.7121 GB, free: 5.367 MB / 0.545 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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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.001127/0.6496, allocations: 484.1 kB / 0.7125 GB, free: 4.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004768/0.6544, allocations: 1.618 MB / 0.7141 GB, free: 3.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.6545, allocations: 4 kB / 0.7141 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.656, allocations: 0.5686 MB / 0.7147 GB, free: 2.715 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/0.6591, allocations: 0.6195 MB / 0.7153 GB, free: 2.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.6646, allocations: 2.866 MB / 0.7181 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008965/0.6655, allocations: 1.162 MB / 0.7192 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.6659, allocations: 119.4 kB / 0.7193 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/0.6659, allocations: 3.938 kB / 0.7193 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.04446/0.7104, allocations: 29.62 MB / 0.7482 GB, free: 488 kB / 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)