Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 93.88 kB / 16.95 MB, free: 5.676 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.001803/0.001804, allocations: 187.4 kB / 17.85 MB, free: 5.32 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.914/1.914, 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.4097/0.4097, 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.0006444/0.0006448, allocations: 16.02 kB / 391.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1492, allocations: 60.27 MB / 452.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.057/0.2063, allocations: 52.27 MB / 0.4925 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.2215, allocations: 10.01 MB / 0.5023 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.2222, allocations: 19.81 kB / 0.5023 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009124/0.2231, allocations: 214.7 kB / 0.5025 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000854/0.2239, allocations: 381.5 kB / 0.5029 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01486/0.2388, allocations: 3.83 MB / 0.5066 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.2407, allocations: 1.133 MB / 0.5077 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/0.2413, allocations: 254.4 kB / 0.508 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.2418, allocations: 314.7 kB / 0.5083 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.2422, allocations: 342.6 kB / 0.5086 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.2423, allocations: 20 kB / 0.5086 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/0.2555, allocations: 6.009 MB / 0.5145 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.2557, allocations: 75.69 kB / 0.5146 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.2561, allocations: 125.5 kB / 0.5147 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007032/0.2632, allocations: 2.608 MB / 0.5172 GB, free: 11.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.2632, allocations: 4 kB / 0.5172 GB, free: 11.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.2632, allocations: 0 / 0.5172 GB, free: 11.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2633, allocations: 0 / 0.5172 GB, free: 11.76 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.004713/0.268, allocations: 1.169 MB / 0.5184 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.2681, allocations: 15.97 kB / 0.5184 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/0.2685, allocations: 107.2 kB / 0.5185 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.2691, allocations: 346.7 kB / 0.5188 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.2692, allocations: 32.94 kB / 0.5188 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.2692, allocations: 47.91 kB / 0.5189 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.2708, allocations: 0.6241 MB / 0.5195 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2708, allocations: 0 / 0.5195 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.2709, allocations: 23.92 kB / 0.5195 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.2709, allocations: 8 kB / 0.5195 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2722, allocations: 0.4996 MB / 0.52 GB, free: 8.773 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.002945/0.2751, allocations: 2.501 MB / 0.5225 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.2766, allocations: 0.567 MB / 0.523 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.2769, allocations: 140.8 kB / 0.5231 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3914/0.6683, allocations: 32.28 MB / 0.5547 GB, free: 67.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.6684, allocations: 40.16 kB / 0.5547 GB, free: 67.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/0.6684, allocations: 0 / 0.5547 GB, free: 67.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.006494/0.6749, allocations: 1.776 MB / 0.5564 GB, free: 67.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.675, allocations: 110.6 kB / 0.5566 GB, free: 66.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.6755, allocations: 351.9 kB / 0.5569 GB, free: 66.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.6755, allocations: 32.05 kB / 0.5569 GB, free: 66.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.6758, allocations: 236.7 kB / 0.5571 GB, free: 66.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.6759, allocations: 115.4 kB / 0.5573 GB, free: 66.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.6759, allocations: 5.25 kB / 0.5573 GB, free: 66.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6761, allocations: 351.6 kB / 0.5576 GB, free: 66.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.6764, allocations: 175.5 kB / 0.5578 GB, free: 66.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.6769, allocations: 226.4 kB / 0.558 GB, free: 66.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.6773, allocations: 190.5 kB / 0.5582 GB, free: 66.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6773, allocations: 0.9375 kB / 0.5582 GB, free: 66.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001813/0.6791, allocations: 0.7584 MB / 0.5589 GB, free: 65.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.6792, allocations: 129.3 kB / 0.559 GB, free: 65.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.6792, allocations: 2.844 kB / 0.559 GB, free: 65.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.6814, allocations: 0.525 MB / 0.5595 GB, free: 65.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.6816, allocations: 39.64 kB / 0.5596 GB, free: 65.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.6828, allocations: 0.9904 MB / 0.5605 GB, free: 64.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.6832, allocations: 50.86 kB / 0.5606 GB, free: 64.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.6833, allocations: 23.3 kB / 0.5606 GB, free: 64.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.6833, allocations: 3.781 kB / 0.5606 GB, free: 64.54 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001384/0.6847, allocations: 0.6318 MB / 0.5612 GB, free: 64.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.6847, allocations: 6.75 kB / 0.5612 GB, free: 64.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.686, allocations: 479.9 kB / 0.5617 GB, free: 63.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.6862, allocations: 43.42 kB / 0.5617 GB, free: 63.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.6875, allocations: 0.943 MB / 0.5627 GB, free: 63.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.6879, allocations: 57.14 kB / 0.5627 GB, free: 63.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.6879, allocations: 27.44 kB / 0.5627 GB, free: 63.19 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.0002476/0.6882, allocations: 232.4 kB / 0.563 GB, free: 62.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.6882, allocations: 39 kB / 0.563 GB, free: 62.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.6916, allocations: 3.007 MB / 0.5659 GB, free: 60.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.6916, allocations: 15.98 kB / 0.566 GB, free: 60.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.6916, allocations: 0 / 0.566 GB, free: 60.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6916, allocations: 11.94 kB / 0.566 GB, free: 60.64 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.004056/0.6957, allocations: 4.486 MB / 0.5703 GB, free: 56.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.6957, allocations: 0 / 0.5703 GB, free: 56.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.6962, allocations: 83.84 kB / 0.5704 GB, free: 55.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/0.6982, allocations: 1.161 MB / 0.5716 GB, free: 54.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.6982, allocations: 11.98 kB / 0.5716 GB, free: 54.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.7006, allocations: 2.777 MB / 0.5743 GB, free: 51.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7006, allocations: 0 / 0.5743 GB, free: 51.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/0.7042, allocations: 3.97 MB / 0.5782 GB, free: 47.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.7043, allocations: 120.4 kB / 0.5783 GB, free: 47.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.7044, allocations: 15.98 kB / 0.5783 GB, free: 47.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.7048, allocations: 47.8 kB / 0.5783 GB, free: 47.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.757e-05/0.7049, allocations: 27.95 kB / 0.5784 GB, free: 47.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.7049, allocations: 12 kB / 0.5784 GB, free: 47.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.7052, allocations: 251.2 kB / 0.5786 GB, free: 47.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7052, allocations: 0 / 0.5786 GB, free: 47.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0033/0.7085, allocations: 0.9584 MB / 0.5795 GB, free: 46.43 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.003205/0.7117, allocations: 0.9662 MB / 0.5805 GB, free: 45.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.7139, allocations: 0.8116 MB / 0.5813 GB, free: 44.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.7139, allocations: 4 kB / 0.5813 GB, free: 44.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.7152, allocations: 491.8 kB / 0.5818 GB, free: 44.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.7165, allocations: 240.1 kB / 0.582 GB, free: 44.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.7184, allocations: 1.554 MB / 0.5835 GB, free: 42.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.7187, allocations: 0.8557 MB / 0.5843 GB, free: 41.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.7188, allocations: 31.44 kB / 0.5844 GB, free: 41.61 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7188, allocations: 0 / 0.5844 GB, free: 41.61 MB / 414.1 MB Notification: Performance of Templates: time 0.03449/0.7533, allocations: 24.93 MB / 0.6087 GB, free: 16.65 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.TestMixerSlowFastCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastCalcHelperMain.o] Error 1