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.001199/0.001199, allocations: 106.5 kB / 16.27 MB, free: 6.41 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.001195/0.001195, allocations: 184.1 kB / 17.2 MB, free: 5.953 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.433/1.433, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7638/0.7638, allocations: 126.1 MB / 417.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.08 kB / 0.495 GB, free: 3.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3789, allocations: 78.7 MB / 0.5718 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05133/0.4303, allocations: 61.16 MB / 0.6315 GB, free: 9.359 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.4456, allocations: 12 MB / 0.6433 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.4474, allocations: 63.62 kB / 0.6433 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.4492, allocations: 0.6946 MB / 0.644 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005363/0.4545, allocations: 1.959 MB / 0.6459 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.4574, allocations: 1.205 MB / 0.6471 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.4616, allocations: 3.079 MB / 0.6501 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/0.4636, allocations: 1.118 MB / 0.6512 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.4669, allocations: 1.323 MB / 0.6525 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.4684, allocations: 0.9218 MB / 0.6534 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.4686, allocations: 120 kB / 0.6535 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.4713, allocations: 1.439 MB / 0.6549 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.4716, allocations: 302.8 kB / 0.6552 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007032/0.4723, allocations: 0.7075 MB / 0.6559 GB, free: 352 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.4753, allocations: 2.29 MB / 0.6581 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4754, allocations: 0 / 0.6581 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4754, allocations: 0 / 0.6581 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.4754, allocations: 4 kB / 0.6581 GB, free: 14.04 MB / 0.4981 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.002777/0.4782, allocations: 1.742 MB / 0.6598 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.4782, allocations: 8.031 kB / 0.6598 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.4807, allocations: 454.8 kB / 0.6603 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.4825, allocations: 1.12 MB / 0.6614 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/0.4829, allocations: 117.9 kB / 0.6615 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.483, allocations: 84 kB / 0.6615 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.4851, allocations: 0.9979 MB / 0.6625 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4851, allocations: 3.938 kB / 0.6625 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/0.4852, allocations: 36 kB / 0.6626 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.4852, allocations: 20 kB / 0.6626 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.4878, allocations: 0.9446 MB / 0.6635 GB, free: 8.379 MB / 0.4981 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.005656/0.4934, allocations: 4.7 MB / 0.6681 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/0.4975, allocations: 1.007 MB / 0.6691 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.4986, allocations: 416.6 kB / 0.6695 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009097/0.4995, allocations: 1.009 MB / 0.6705 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.4996, allocations: 46.88 kB / 0.6705 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.4996, allocations: 4 kB / 0.6705 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.007721/0.5073, allocations: 1.951 MB / 0.6724 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.5074, allocations: 55.84 kB / 0.6725 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.5085, allocations: 0.9552 MB / 0.6734 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.5086, allocations: 37.7 kB / 0.6734 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.509, allocations: 0.508 MB / 0.6739 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.5091, allocations: 181.3 kB / 0.6741 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.5093, allocations: 126.1 kB / 0.6742 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5095, allocations: 326 kB / 0.6745 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.5105, allocations: 358.9 kB / 0.6749 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.5117, allocations: 0.5147 MB / 0.6754 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.5138, allocations: 0.7696 MB / 0.6761 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5138, allocations: 4 kB / 0.6761 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002987/0.5168, allocations: 1.068 MB / 0.6772 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5169, allocations: 8 kB / 0.6772 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.5169, allocations: 4 kB / 0.6772 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.5182, allocations: 308.9 kB / 0.6775 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.5188, allocations: 135.8 kB / 0.6776 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.5204, allocations: 0.9098 MB / 0.6785 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/0.5214, allocations: 123.3 kB / 0.6786 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.5214, allocations: 27.98 kB / 0.6786 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001362/0.5228, allocations: 0.5643 MB / 0.6792 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001161/0.524, allocations: 0.5069 MB / 0.6797 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002047/0.526, allocations: 0.7502 MB / 0.6804 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.5261, allocations: 0 / 0.6804 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00289/0.5289, allocations: 1.057 MB / 0.6815 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.529, allocations: 8 kB / 0.6815 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.529, allocations: 0 / 0.6815 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.5301, allocations: 300.9 kB / 0.6817 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.5307, allocations: 127.8 kB / 0.6819 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.5321, allocations: 0.917 MB / 0.6828 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.5332, allocations: 111.6 kB / 0.6829 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.5332, allocations: 27.98 kB / 0.6829 GB, free: 3.574 MB / 0.5137 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.0002545/0.5335, allocations: 212.1 kB / 0.6831 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.5337, allocations: 122.5 kB / 0.6832 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/0.5369, allocations: 1.167 MB / 0.6844 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.5369, allocations: 4 kB / 0.6844 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5369, allocations: 4 kB / 0.6844 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5369, allocations: 3.984 kB / 0.6844 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/0.5413, allocations: 2.26 MB / 0.6866 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.5413, allocations: 0 / 0.6866 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.5419, allocations: 108 kB / 0.6867 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.5429, allocations: 302.8 kB / 0.687 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.543, allocations: 19.98 kB / 0.687 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.5445, allocations: 0.9424 MB / 0.6879 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5445, allocations: 7.969 kB / 0.6879 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/0.5482, allocations: 1.312 MB / 0.6892 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.5486, allocations: 283.4 kB / 0.6895 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.5488, allocations: 8 kB / 0.6895 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000835/0.5496, allocations: 75.91 kB / 0.6895 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.5497, allocations: 48.31 kB / 0.6896 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.5498, allocations: 27.98 kB / 0.6896 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008521/0.5506, allocations: 0.6715 MB / 0.6903 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5506, allocations: 0 / 0.6903 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001385/0.552, allocations: 0.5692 MB / 0.6908 GB, free: 11.27 MB / 0.5294 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.0007492/0.5528, allocations: 389.7 kB / 0.6912 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003952/0.5568, allocations: 1.338 MB / 0.6925 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5568, allocations: 0 / 0.6925 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.5581, allocations: 468.8 kB / 0.693 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.5603, allocations: 486.4 kB / 0.6934 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.5643, allocations: 1.925 MB / 0.6953 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/0.5651, allocations: 1.07 MB / 0.6963 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001002/0.5661, allocations: 234.3 kB / 0.6966 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.5663, allocations: 83.41 kB / 0.6966 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.5663, allocations: 0 / 0.6966 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of Templates: time 0.04336/0.6097, allocations: 24.69 MB / 0.7208 GB, free: 12.86 MB / 0.5606 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)