Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001105/0.001105, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001347/0.001347, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 239.9 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9874/0.9874, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 11.98 kB / 0.5158 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 83.41 MB / 0.5973 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3771/0.5382, allocations: 51.29 MB / 0.6474 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.5517, allocations: 10.33 MB / 0.6574 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.554, allocations: 50.69 kB / 0.6575 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.5566, allocations: 0.6305 MB / 0.6581 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006167/0.5627, allocations: 1.942 MB / 0.66 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004215/0.567, allocations: 1.318 MB / 0.6613 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004224/0.5712, allocations: 1.854 MB / 0.6631 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.5729, allocations: 0.8294 MB / 0.6639 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.576, allocations: 0.9867 MB / 0.6649 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.5774, allocations: 0.6217 MB / 0.6655 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.5776, allocations: 43.25 kB / 0.6655 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.5803, allocations: 0.9881 MB / 0.6665 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.5805, allocations: 197.5 kB / 0.6667 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.581, allocations: 286.3 kB / 0.667 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.584, allocations: 1.693 MB / 0.6686 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5841, allocations: 1.156 kB / 0.6686 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5841, allocations: 0 / 0.6686 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.585e-05/0.5841, allocations: 4 kB / 0.6686 GB, free: 15.75 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00378/0.5879, allocations: 1.502 MB / 0.6701 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.588, allocations: 9.688 kB / 0.6701 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/0.591, allocations: 0.5138 MB / 0.6706 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.5937, allocations: 1.06 MB / 0.6716 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/0.5941, allocations: 128.5 kB / 0.6717 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.5943, allocations: 87.22 kB / 0.6718 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.5968, allocations: 1.023 MB / 0.6728 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.5968, allocations: 4.906 kB / 0.6728 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/0.5969, allocations: 31.19 kB / 0.6729 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.597, allocations: 18.91 kB / 0.6729 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.5999, allocations: 0.994 MB / 0.6738 GB, free: 13.14 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.008594/0.6085, allocations: 4.738 MB / 0.6785 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/0.6133, allocations: 1.133 MB / 0.6796 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.6145, allocations: 1.024 MB / 0.6806 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.6146, allocations: 41.88 kB / 0.6806 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 4.579e-06/0.6146, allocations: 0 / 0.6806 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.009247/0.6238, allocations: 2.141 MB / 0.6827 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.6239, allocations: 57.34 kB / 0.6828 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.6256, allocations: 0.9503 MB / 0.6837 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.6257, allocations: 38.95 kB / 0.6837 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.6262, allocations: 0.5101 MB / 0.6842 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.6264, allocations: 180.1 kB / 0.6844 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.6264, allocations: 10.91 kB / 0.6844 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6266, allocations: 325.8 kB / 0.6847 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.6277, allocations: 376.7 kB / 0.6851 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.6289, allocations: 0.5314 MB / 0.6856 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.6301, allocations: 402.8 kB / 0.686 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6301, allocations: 1.125 kB / 0.686 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004269/0.6344, allocations: 1.291 MB / 0.6872 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003925/0.6348, allocations: 0.9718 MB / 0.6882 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.6348, allocations: 6.312 kB / 0.6882 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.6362, allocations: 330.1 kB / 0.6885 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.6369, allocations: 142.6 kB / 0.6887 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.6387, allocations: 0.938 MB / 0.6896 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.6402, allocations: 170.2 kB / 0.6897 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/0.6403, allocations: 33.08 kB / 0.6898 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6404, allocations: 4.328 kB / 0.6898 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003815/0.6442, allocations: 1.147 MB / 0.6909 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6442, allocations: 3.219 kB / 0.6909 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.6454, allocations: 323.1 kB / 0.6912 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.6461, allocations: 146.4 kB / 0.6913 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.6477, allocations: 0.9288 MB / 0.6922 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.6493, allocations: 168.7 kB / 0.6924 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.6494, allocations: 28.23 kB / 0.6924 GB, free: 2.309 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 (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.0008088/0.6502, allocations: 359.3 kB / 0.6928 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.6505, allocations: 109.9 kB / 0.6929 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/0.6539, allocations: 1.219 MB / 0.6941 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.6539, allocations: 7.484 kB / 0.6941 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6539, allocations: 7.953 kB / 0.6941 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.6539, allocations: 2.625 kB / 0.6941 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.6592, allocations: 2.331 MB / 0.6964 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.6592, allocations: 1.469 kB / 0.6964 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.6598, allocations: 116.2 kB / 0.6965 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.6609, allocations: 324.3 kB / 0.6968 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.6609, allocations: 19.17 kB / 0.6968 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.6626, allocations: 0.9709 MB / 0.6978 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6626, allocations: 2.344 kB / 0.6978 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/0.6668, allocations: 1.481 MB / 0.6992 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/0.6676, allocations: 303 kB / 0.6995 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.6677, allocations: 12 kB / 0.6995 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009973/0.6687, allocations: 134.1 kB / 0.6996 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.6688, allocations: 41.19 kB / 0.6997 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.6689, allocations: 23.98 kB / 0.6997 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001098/0.67, allocations: 0.6672 MB / 0.7003 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.67, allocations: 0 / 0.7003 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001949/0.672, allocations: 0.5775 MB / 0.7009 GB, free: 14.03 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 (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.0008819/0.6729, allocations: 385.3 kB / 0.7013 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004036/0.6769, allocations: 1.394 MB / 0.7026 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6769, allocations: 0 / 0.7026 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.6782, allocations: 490.3 kB / 0.7031 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.681, allocations: 0.4949 MB / 0.7036 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.6857, allocations: 2.324 MB / 0.7059 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/0.6865, allocations: 1.089 MB / 0.7069 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001229/0.6877, allocations: 239 kB / 0.7071 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.688, allocations: 78.86 kB / 0.7072 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of SimCode: time 1.442e-06/0.688, allocations: 0 / 0.7072 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of Templates: time 0.05588/0.7439, allocations: 23.55 MB / 0.7302 GB, free: 3.043 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: