Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007737/0.0007738, allocations: 99.42 kB / 16.02 MB, free: 76 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.001004/0.001004, allocations: 186.5 kB / 16.92 MB, free: 6.75 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.281/1.281, allocations: 223.2 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7058/0.7058, allocations: 132.3 MB / 424.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 8 kB / 0.5046 GB, free: 3.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4373, allocations: 81.57 MB / 0.5843 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06088/0.4982, allocations: 59.73 MB / 0.6426 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.5147, allocations: 11.91 MB / 0.6542 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.5171, allocations: 51.69 kB / 0.6543 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.5192, allocations: 0.5477 MB / 0.6548 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006123/0.5253, allocations: 1.799 MB / 0.6566 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003274/0.5286, allocations: 1.086 MB / 0.6576 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005701/0.5343, allocations: 3.902 MB / 0.6615 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.5359, allocations: 0.9226 MB / 0.6624 GB, free: 352 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.5384, allocations: 1.12 MB / 0.6634 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.5399, allocations: 0.8669 MB / 0.6643 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.54, allocations: 47.94 kB / 0.6643 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.5426, allocations: 1.341 MB / 0.6656 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.5429, allocations: 214.9 kB / 0.6659 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007727/0.5437, allocations: 0.631 MB / 0.6665 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.546, allocations: 1.711 MB / 0.6681 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.546, allocations: 4 kB / 0.6681 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.546, allocations: 0 / 0.6681 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.546, allocations: 0 / 0.6681 GB, free: 10.39 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.002679/0.5487, allocations: 1.509 MB / 0.6696 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5488, allocations: 8.031 kB / 0.6696 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.5512, allocations: 0.5105 MB / 0.6701 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.5532, allocations: 1.143 MB / 0.6712 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.5536, allocations: 129.9 kB / 0.6714 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5537, allocations: 80 kB / 0.6714 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.5558, allocations: 1.033 MB / 0.6724 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5558, allocations: 3.938 kB / 0.6725 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.5559, allocations: 32 kB / 0.6725 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.5559, allocations: 23.98 kB / 0.6725 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.5584, allocations: 0.9993 MB / 0.6735 GB, free: 4.773 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.005914/0.5643, allocations: 4.707 MB / 0.6781 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.5684, allocations: 1.118 MB / 0.6792 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.5695, allocations: 445.9 kB / 0.6796 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009849/0.5705, allocations: 1.033 MB / 0.6806 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.5706, allocations: 35 kB / 0.6806 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.154e-06/0.5706, allocations: 0 / 0.6806 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.007934/0.5785, allocations: 2.158 MB / 0.6827 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.5786, allocations: 55.84 kB / 0.6828 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.5798, allocations: 0.9396 MB / 0.6837 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.573e-05/0.5799, allocations: 37.7 kB / 0.6837 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.5803, allocations: 0.508 MB / 0.6842 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.5805, allocations: 185.3 kB / 0.6844 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.5805, allocations: 53.62 kB / 0.6845 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5807, allocations: 330 kB / 0.6848 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.5817, allocations: 380.9 kB / 0.6852 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.5829, allocations: 0.5382 MB / 0.6857 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.585, allocations: 0.8282 MB / 0.6865 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.585, allocations: 0 / 0.6865 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003028/0.588, allocations: 1.139 MB / 0.6876 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.5881, allocations: 158.5 kB / 0.6877 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5882, allocations: 4 kB / 0.6878 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.5894, allocations: 343 kB / 0.6881 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.5901, allocations: 143.8 kB / 0.6882 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.5916, allocations: 0.9347 MB / 0.6891 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.5927, allocations: 176.8 kB / 0.6893 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.5928, allocations: 27.98 kB / 0.6893 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.5928, allocations: 4 kB / 0.6893 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002666/0.5955, allocations: 1.009 MB / 0.6903 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5955, allocations: 4 kB / 0.6903 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.5966, allocations: 312.9 kB / 0.6906 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.5972, allocations: 147.8 kB / 0.6908 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.5986, allocations: 0.9415 MB / 0.6917 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.5997, allocations: 159.4 kB / 0.6918 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.5998, allocations: 31.98 kB / 0.6919 GB, free: 1.082 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.0005087/0.6003, allocations: 356.9 kB / 0.6922 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.6005, allocations: 106.7 kB / 0.6923 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.6035, allocations: 1.228 MB / 0.6935 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.6036, allocations: 8 kB / 0.6935 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6036, allocations: 0 / 0.6935 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6036, allocations: 3.984 kB / 0.6935 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.6078, allocations: 2.323 MB / 0.6958 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6079, allocations: 0 / 0.6958 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.6084, allocations: 124 kB / 0.6959 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.6094, allocations: 316.6 kB / 0.6962 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.6095, allocations: 19.98 kB / 0.6962 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.611, allocations: 0.968 MB / 0.6972 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.611, allocations: 0 / 0.6972 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.6146, allocations: 1.413 MB / 0.6985 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.6151, allocations: 287.5 kB / 0.6988 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.6152, allocations: 12 kB / 0.6988 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009318/0.6161, allocations: 131.7 kB / 0.699 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.6162, allocations: 48.2 kB / 0.699 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.6163, allocations: 23.98 kB / 0.699 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008266/0.6171, allocations: 0.6637 MB / 0.6997 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6171, allocations: 0 / 0.6997 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001326/0.6184, allocations: 0.5691 MB / 0.7002 GB, free: 8.32 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.0007251/0.6192, allocations: 376.7 kB / 0.7006 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00364/0.6228, allocations: 1.393 MB / 0.7019 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6228, allocations: 0 / 0.7019 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.6241, allocations: 496.8 kB / 0.7024 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.6266, allocations: 0.4941 MB / 0.7029 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.6304, allocations: 2.396 MB / 0.7052 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.631, allocations: 1.07 MB / 0.7063 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.6313, allocations: 87.41 kB / 0.7064 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.6313, allocations: 0 / 0.7064 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of Templates: time 0.03102/0.6623, allocations: 23.85 MB / 0.7297 GB, free: 10.29 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlowCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlowCalcHelperMain.o] Error 1