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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 111 kB / 17.33 MB, free: 5.043 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.00131/0.00131, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.503/1.503, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8514/0.8514, allocations: 128.4 MB / 426.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 65.14 kB / 0.5912 GB, free: 21.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.197, allocations: 83.26 MB / 0.6725 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.08693/0.284, allocations: 74.46 MB / 0.7452 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4892/0.7732, allocations: 13.74 MB / 0.7586 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.7768, allocations: 69.22 kB / 0.7587 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.7797, allocations: 0.8121 MB / 0.7595 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008712/0.7884, allocations: 2.316 MB / 0.7617 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00623/0.7946, allocations: 1.697 MB / 0.7634 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008871/0.8035, allocations: 3.72 MB / 0.767 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003037/0.8066, allocations: 1.084 MB / 0.7681 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006612/0.8132, allocations: 1.842 MB / 0.7699 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00363/0.8168, allocations: 1.139 MB / 0.771 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005111/0.8173, allocations: 143 kB / 0.7711 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.8231, allocations: 1.715 MB / 0.7728 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006534/0.8237, allocations: 361.3 kB / 0.7731 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.8258, allocations: 0.8608 MB / 0.774 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009348/0.8351, allocations: 2.751 MB / 0.7767 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8351, allocations: 0 / 0.7767 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8351, allocations: 0 / 0.7767 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.069e-05/0.8352, allocations: 1.156 kB / 0.7767 GB, free: 16.5 MB / 0.5762 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.005511/0.8407, allocations: 2.076 MB / 0.7787 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.8408, allocations: 9.531 kB / 0.7787 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/0.8436, allocations: 498.6 kB / 0.7792 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/0.8468, allocations: 1.339 MB / 0.7805 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.8469, allocations: 83.56 kB / 0.7806 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.8471, allocations: 98.94 kB / 0.7807 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.8499, allocations: 1.2 MB / 0.7818 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.8499, allocations: 1.156 kB / 0.7818 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.85, allocations: 43.34 kB / 0.7819 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.85, allocations: 25.61 kB / 0.7819 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/0.8528, allocations: 1.05 MB / 0.7829 GB, free: 14.63 MB / 0.5762 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.009291/0.8621, allocations: 6.327 MB / 0.7891 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.8647, allocations: 0.8764 MB / 0.79 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.8658, allocations: 424.1 kB / 0.7904 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.8669, allocations: 1.673 MB / 0.792 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.867, allocations: 39.91 kB / 0.792 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=65): time 1.943e-06/0.867, allocations: 5.438 kB / 0.792 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.008899/0.8759, allocations: 2.18 MB / 0.7942 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.8759, allocations: 61.47 kB / 0.7942 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.8781, allocations: 1.123 MB / 0.7953 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.8782, allocations: 38.64 kB / 0.7954 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/0.8787, allocations: 0.6408 MB / 0.796 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.8789, allocations: 235.1 kB / 0.7962 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.8792, allocations: 158.6 kB / 0.7964 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.8792, allocations: 335.5 kB / 0.7967 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009975/0.8802, allocations: 402.3 kB / 0.7971 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.8814, allocations: 0.6028 MB / 0.7977 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.8834, allocations: 0.9122 MB / 0.7985 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.8834, allocations: 2.531 kB / 0.7985 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003148/0.8865, allocations: 1.223 MB / 0.7997 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.8865, allocations: 5.969 kB / 0.7997 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8866, allocations: 9 kB / 0.7998 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.8877, allocations: 312.7 kB / 0.8001 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.8884, allocations: 171.6 kB / 0.8002 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.8896, allocations: 0.9024 MB / 0.8011 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.8912, allocations: 132.5 kB / 0.8012 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.8913, allocations: 43.28 kB / 0.8013 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00149/0.8927, allocations: 0.6141 MB / 0.8019 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/0.8938, allocations: 0.5982 MB / 0.8025 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001922/0.8957, allocations: 0.9084 MB / 0.8033 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.8958, allocations: 2.781 kB / 0.8033 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.003078/0.8988, allocations: 1.219 MB / 0.8045 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.8988, allocations: 10.47 kB / 0.8045 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.8989, allocations: 9.406 kB / 0.8046 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.8999, allocations: 297.8 kB / 0.8048 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.9005, allocations: 174.8 kB / 0.805 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.9017, allocations: 0.8881 MB / 0.8059 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.9032, allocations: 135 kB / 0.806 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.9033, allocations: 33.2 kB / 0.806 GB, free: 1.152 MB / 0.5762 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.0003076/0.9036, allocations: 231.6 kB / 0.8063 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.9038, allocations: 136.8 kB / 0.8064 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/0.9071, allocations: 1.517 MB / 0.8079 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.9072, allocations: 13.05 kB / 0.8079 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9072, allocations: 0 / 0.8079 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.9072, allocations: 3.984 kB / 0.8079 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/0.914, allocations: 2.889 MB / 0.8107 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.914, allocations: 1.188 kB / 0.8107 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.9146, allocations: 124.1 kB / 0.8108 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.9157, allocations: 292.4 kB / 0.8111 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.9157, allocations: 24.14 kB / 0.8111 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.9173, allocations: 0.9339 MB / 0.812 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9173, allocations: 0 / 0.812 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/0.9223, allocations: 1.586 MB / 0.8136 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.9234, allocations: 339.2 kB / 0.8139 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.9236, allocations: 13.03 kB / 0.8139 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/0.9245, allocations: 88.97 kB / 0.814 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.9246, allocations: 54.61 kB / 0.8141 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/0.9247, allocations: 35.19 kB / 0.8141 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001313/0.926, allocations: 0.7818 MB / 0.8149 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.926, allocations: 0 / 0.8149 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002398/0.9284, allocations: 0.742 MB / 0.8156 GB, free: 11.38 MB / 0.5919 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.001311/0.9297, allocations: 483.9 kB / 0.816 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00433/0.934, allocations: 1.5 MB / 0.8175 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.934, allocations: 4 kB / 0.8175 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.9354, allocations: 0.5286 MB / 0.818 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/0.9387, allocations: 0.6172 MB / 0.8186 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.9439, allocations: 2.321 MB / 0.8209 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/0.9449, allocations: 1.166 MB / 0.822 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001294/0.9462, allocations: 323.8 kB / 0.8223 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.9465, allocations: 111.4 kB / 0.8224 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of SimCode: time 1.192e-06/0.9465, allocations: 0 / 0.8224 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of Templates: time 0.06181/1.008, allocations: 31.26 MB / 0.853 GB, free: 5.773 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile [Timeout 660] (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) [Timeout 480]