Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009435/0.0009437, allocations: 91.98 kB / 16.95 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.001247/0.001247, allocations: 183.7 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4115/0.4115, allocations: 48.78 MB / 321.1 MB, free: 11.22 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005656/0.0005657, allocations: 13.7 kB / 391.8 MB, free: 50.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1483, allocations: 60.27 MB / 452.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.05742/0.2058, allocations: 52.28 MB / 0.4925 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.2206, allocations: 10.02 MB / 0.5023 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.2213, allocations: 15.88 kB / 0.5023 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008974/0.2222, allocations: 210.7 kB / 0.5025 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000897/0.2231, allocations: 377.5 kB / 0.5029 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01552/0.2387, allocations: 3.826 MB / 0.5066 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.2407, allocations: 1.137 MB / 0.5077 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.2413, allocations: 266.4 kB / 0.508 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004556/0.2418, allocations: 302.8 kB / 0.5083 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.2423, allocations: 342.5 kB / 0.5086 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.2423, allocations: 20 kB / 0.5086 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/0.2553, allocations: 6.016 MB / 0.5145 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.2556, allocations: 67.7 kB / 0.5146 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.256, allocations: 133.5 kB / 0.5147 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006602/0.2626, allocations: 2.608 MB / 0.5172 GB, free: 11.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.2626, allocations: 0 / 0.5172 GB, free: 11.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2627, allocations: 0 / 0.5172 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.2627, allocations: 0 / 0.5172 GB, free: 11.75 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003968/0.2666, allocations: 1.169 MB / 0.5184 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.2667, allocations: 11.97 kB / 0.5184 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004573/0.2672, allocations: 107.2 kB / 0.5185 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.2677, allocations: 354.7 kB / 0.5188 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.2678, allocations: 32.94 kB / 0.5189 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-05/0.2679, allocations: 47.89 kB / 0.5189 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.2694, allocations: 0.6163 MB / 0.5195 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2694, allocations: 11.88 kB / 0.5195 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.2694, allocations: 16 kB / 0.5195 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2695, allocations: 12 kB / 0.5195 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.2708, allocations: 0.4957 MB / 0.52 GB, free: 8.77 MB / 414.1 MB 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.002498/0.2733, allocations: 2.304 MB / 0.5223 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.2745, allocations: 0.5592 MB / 0.5228 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.2748, allocations: 144.8 kB / 0.523 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3902/0.665, allocations: 32.28 MB / 0.5545 GB, free: 68.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.6651, allocations: 33.78 kB / 0.5545 GB, free: 68.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 3.316e-06/0.6651, allocations: 0 / 0.5545 GB, free: 68.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.006188/0.6713, allocations: 1.78 MB / 0.5563 GB, free: 67.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.6715, allocations: 107.3 kB / 0.5564 GB, free: 67.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.672, allocations: 353.6 kB / 0.5567 GB, free: 67.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.672, allocations: 35.64 kB / 0.5567 GB, free: 67.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.6722, allocations: 236.1 kB / 0.5569 GB, free: 67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.6723, allocations: 113.2 kB / 0.5571 GB, free: 66.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.6724, allocations: 7.406 kB / 0.5571 GB, free: 66.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6725, allocations: 351 kB / 0.5574 GB, free: 66.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.6728, allocations: 170.7 kB / 0.5576 GB, free: 66.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.6733, allocations: 234.4 kB / 0.5578 GB, free: 66.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.6736, allocations: 188.7 kB / 0.558 GB, free: 66.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6736, allocations: 0 / 0.558 GB, free: 66.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001839/0.6755, allocations: 0.7552 MB / 0.5587 GB, free: 65.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/0.6756, allocations: 129.3 kB / 0.5588 GB, free: 65.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6756, allocations: 0 / 0.5588 GB, free: 65.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.6777, allocations: 0.5249 MB / 0.5593 GB, free: 65.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.6778, allocations: 39.58 kB / 0.5594 GB, free: 65.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.6791, allocations: 0.9919 MB / 0.5603 GB, free: 64.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.6795, allocations: 54.92 kB / 0.5604 GB, free: 64.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.6796, allocations: 27.7 kB / 0.5604 GB, free: 64.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.6796, allocations: 7.922 kB / 0.5604 GB, free: 64.63 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001365/0.681, allocations: 0.6264 MB / 0.561 GB, free: 64.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.681, allocations: 3.969 kB / 0.561 GB, free: 64.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.6823, allocations: 474.6 kB / 0.5615 GB, free: 64.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.6824, allocations: 47.14 kB / 0.5615 GB, free: 64.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.6838, allocations: 0.9339 MB / 0.5625 GB, free: 63.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.6842, allocations: 58.95 kB / 0.5625 GB, free: 63.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.6843, allocations: 31.27 kB / 0.5625 GB, free: 63.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {5 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002539/0.6845, allocations: 236 kB / 0.5628 GB, free: 63.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.6846, allocations: 39.22 kB / 0.5628 GB, free: 63.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/0.6881, allocations: 3.014 MB / 0.5657 GB, free: 60.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.6881, allocations: 11.98 kB / 0.5658 GB, free: 60.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.6881, allocations: 0 / 0.5658 GB, free: 60.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.6881, allocations: 7.938 kB / 0.5658 GB, free: 60.8 MB / 414.1 MB 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 postOpt removeSimpleEquations (simulation): time 0.003969/0.6921, allocations: 4.488 MB / 0.5702 GB, free: 56.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.6921, allocations: 4 kB / 0.5702 GB, free: 56.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.6926, allocations: 79.83 kB / 0.5702 GB, free: 56.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.6946, allocations: 1.165 MB / 0.5714 GB, free: 54.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.6947, allocations: 9.969 kB / 0.5714 GB, free: 54.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/0.6975, allocations: 2.772 MB / 0.5741 GB, free: 51.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6975, allocations: 4.156 kB / 0.5741 GB, free: 51.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.7012, allocations: 3.966 MB / 0.578 GB, free: 47.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.7014, allocations: 128.4 kB / 0.5781 GB, free: 47.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.7015, allocations: 11.95 kB / 0.5781 GB, free: 47.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.7018, allocations: 43.95 kB / 0.5781 GB, free: 47.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.7019, allocations: 29.08 kB / 0.5782 GB, free: 47.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.702, allocations: 14.98 kB / 0.5782 GB, free: 47.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.7022, allocations: 239.2 kB / 0.5784 GB, free: 47.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7022, allocations: 0 / 0.5784 GB, free: 47.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00375/0.706, allocations: 0.9692 MB / 0.5794 GB, free: 46.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003723/0.7097, allocations: 0.9602 MB / 0.5803 GB, free: 45.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.7119, allocations: 0.8178 MB / 0.5811 GB, free: 44.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7119, allocations: 3.938 kB / 0.5811 GB, free: 44.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.7132, allocations: 495.9 kB / 0.5816 GB, free: 44.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.7145, allocations: 244.4 kB / 0.5818 GB, free: 44.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.7166, allocations: 1.563 MB / 0.5833 GB, free: 42.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.7169, allocations: 0.8557 MB / 0.5842 GB, free: 41.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.717, allocations: 31.44 kB / 0.5842 GB, free: 41.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.923e-06/0.717, allocations: 0 / 0.5842 GB, free: 41.75 MB / 414.1 MB Notification: Performance of Templates: time 0.03436/0.7514, allocations: 24.94 MB / 0.6085 GB, free: 16.77 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteamCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteamCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteamCalcHelperMain.o] Error 1