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.0008741/0.000874, allocations: 99.44 kB / 15.71 MB, free: 452 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.0009407/0.0009407, allocations: 178 kB / 16.58 MB, free: 6.422 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.484/1.484, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.162/1.162, allocations: 143.4 MB / 435.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 11.94 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2115, allocations: 83.43 MB / 0.5981 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.5177/0.7292, allocations: 56.48 MB / 0.6532 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.7451, allocations: 11.24 MB / 0.6642 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.748, allocations: 48.56 kB / 0.6642 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.7501, allocations: 462.5 kB / 0.6647 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.7566, allocations: 1.537 MB / 0.6662 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.7607, allocations: 0.8629 MB / 0.667 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008064/0.7688, allocations: 3.391 MB / 0.6703 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.7716, allocations: 0.8045 MB / 0.6711 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/0.7762, allocations: 1.041 MB / 0.6721 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.7795, allocations: 0.8226 MB / 0.6729 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003962/0.7799, allocations: 43.69 kB / 0.673 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/0.7853, allocations: 1.103 MB / 0.6741 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005768/0.7859, allocations: 203.8 kB / 0.6743 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.787, allocations: 286.4 kB / 0.6745 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005019/0.7921, allocations: 1.74 MB / 0.6762 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.7921, allocations: 1.031 kB / 0.6762 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.617e-06/0.7921, allocations: 4 kB / 0.6762 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.674e-05/0.7922, allocations: 0 / 0.6762 GB, free: 11.31 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.00631/0.7985, allocations: 1.52 MB / 0.6777 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.759e-05/0.7986, allocations: 13.34 kB / 0.6777 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.8019, allocations: 0.5149 MB / 0.6782 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/0.8058, allocations: 1.094 MB / 0.6793 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/0.8063, allocations: 123.3 kB / 0.6794 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.8066, allocations: 88.89 kB / 0.6795 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.8095, allocations: 1.034 MB / 0.6805 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.8095, allocations: 0 / 0.6805 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.908e-05/0.8096, allocations: 31.81 kB / 0.6805 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.8097, allocations: 18.41 kB / 0.6806 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002989/0.8127, allocations: 0.9908 MB / 0.6815 GB, free: 8.672 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.01031/0.823, allocations: 4.71 MB / 0.6861 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.8273, allocations: 1.129 MB / 0.6872 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.8286, allocations: 437.6 kB / 0.6876 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.8298, allocations: 1.03 MB / 0.6886 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.78e-05/0.8299, allocations: 41.39 kB / 0.6887 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/0.8299, allocations: 4 kB / 0.6887 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008226/0.8381, allocations: 2.14 MB / 0.6908 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.8382, allocations: 58.27 kB / 0.6908 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.8402, allocations: 0.9312 MB / 0.6917 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.8403, allocations: 41.98 kB / 0.6918 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007129/0.841, allocations: 0.5106 MB / 0.6923 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.8413, allocations: 190.6 kB / 0.6925 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.8414, allocations: 10.44 kB / 0.6925 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8415, allocations: 335.3 kB / 0.6928 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.8427, allocations: 375.9 kB / 0.6932 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.8441, allocations: 0.5335 MB / 0.6937 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.8455, allocations: 398.9 kB / 0.6941 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.8455, allocations: 1.031 kB / 0.6941 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004489/0.85, allocations: 1.281 MB / 0.6953 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002964/0.8503, allocations: 169 kB / 0.6955 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.8504, allocations: 2.125 kB / 0.6955 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.8517, allocations: 323 kB / 0.6958 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.8524, allocations: 142.8 kB / 0.6959 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.8543, allocations: 0.9424 MB / 0.6968 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.8559, allocations: 171.1 kB / 0.697 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.856, allocations: 33.47 kB / 0.697 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.856, allocations: 4 kB / 0.697 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003854/0.8599, allocations: 1.147 MB / 0.6982 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.8599, allocations: 7.719 kB / 0.6982 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.8612, allocations: 323.1 kB / 0.6985 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/0.8619, allocations: 142.3 kB / 0.6986 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.8636, allocations: 0.9377 MB / 0.6995 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.8652, allocations: 161.8 kB / 0.6997 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.8653, allocations: 32.47 kB / 0.6997 GB, free: 14.39 MB / 0.5294 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.0008617/0.8662, allocations: 354.4 kB / 0.7 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.8665, allocations: 114.2 kB / 0.7002 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/0.8699, allocations: 1.22 MB / 0.7013 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.8699, allocations: 5.344 kB / 0.7014 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.8699, allocations: 1.125 kB / 0.7014 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.8699, allocations: 3.984 kB / 0.7014 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005263/0.8752, allocations: 2.322 MB / 0.7036 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.8752, allocations: 1.969 kB / 0.7036 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.8758, allocations: 113.5 kB / 0.7037 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.8769, allocations: 326.2 kB / 0.704 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.877, allocations: 22.92 kB / 0.7041 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.8786, allocations: 0.9697 MB / 0.705 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.8786, allocations: 2.469 kB / 0.705 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.8825, allocations: 1.401 MB / 0.7064 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009736/0.8835, allocations: 286.6 kB / 0.7067 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.8837, allocations: 16.95 kB / 0.7067 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/0.8846, allocations: 125.2 kB / 0.7068 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.8848, allocations: 42.28 kB / 0.7068 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/0.8849, allocations: 28.11 kB / 0.7069 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001508/0.8864, allocations: 0.6551 MB / 0.7075 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8864, allocations: 0.7188 kB / 0.7075 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002219/0.8886, allocations: 0.5705 MB / 0.7081 GB, free: 9.281 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.001089/0.8897, allocations: 374.2 kB / 0.7084 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004269/0.894, allocations: 1.391 MB / 0.7098 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.894, allocations: 1.375 kB / 0.7098 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.8954, allocations: 493.3 kB / 0.7102 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/0.8987, allocations: 0.4956 MB / 0.7107 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005852/0.9046, allocations: 2.37 MB / 0.713 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.9059, allocations: 1.066 MB / 0.7141 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.9066, allocations: 87.41 kB / 0.7142 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of SimCode: time 1.804e-06/0.9066, allocations: 0 / 0.7142 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of Templates: time 0.04257/0.9491, allocations: 24.08 MB / 0.7377 GB, free: 12.24 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlowCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlowCalcHelperMain.o] Error 1