Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006357/0.0006358, allocations: 89.52 kB / 17.31 MB, free: 5.59 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.0006866/0.0006866, allocations: 179.1 kB / 18.21 MB, free: 5.191 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.14/1.14, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2308/0.2308, allocations: 48.78 MB / 321.5 MB, free: 11.1 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" 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.0004644/0.0004644, allocations: 21.53 kB / 392.5 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07747/0.07794, allocations: 60.27 MB / 452.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.03144/0.1094, allocations: 37.18 MB / 489.9 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.1263, allocations: 16.05 MB / 0.4941 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.1267, allocations: 11.94 kB / 0.4941 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.1271, allocations: 103.3 kB / 0.4942 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.1275, allocations: 214.7 kB / 0.4944 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01322/0.1407, allocations: 5.128 MB / 0.4994 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007555/0.1415, allocations: 0.7664 MB / 0.5002 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.1418, allocations: 181.1 kB / 0.5004 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.1421, allocations: 203.1 kB / 0.5005 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1423, allocations: 222.9 kB / 0.5008 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.1423, allocations: 12 kB / 0.5008 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/0.1553, allocations: 8.837 MB / 0.5094 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.1555, allocations: 59.7 kB / 0.5095 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.1557, allocations: 208.7 kB / 0.5097 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004894/0.1606, allocations: 3.423 MB / 0.513 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1606, allocations: 0 / 0.513 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1606, allocations: 3.984 kB / 0.513 GB, free: 368 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1606, allocations: 4 kB / 0.513 GB, free: 364 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002898/0.1636, allocations: 1.177 MB / 0.5142 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1636, allocations: 11.97 kB / 0.5142 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.1638, allocations: 60.45 kB / 0.5142 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1641, allocations: 323.3 kB / 0.5145 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1642, allocations: 20.94 kB / 0.5146 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.1642, allocations: 32.12 kB / 0.5146 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.1648, allocations: 326.2 kB / 0.5149 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1648, allocations: 0 / 0.5149 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.1649, allocations: 12 kB / 0.5149 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1649, allocations: 4 kB / 0.5149 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.1653, allocations: 214 kB / 0.5151 GB, free: 14.09 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.001493/0.1668, allocations: 1.497 MB / 0.5166 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.1673, allocations: 186.6 kB / 0.5168 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1674, allocations: 60.84 kB / 0.5168 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2644/0.4318, allocations: 64.59 MB / 0.5799 GB, free: 42.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.4319, allocations: 30.56 kB / 0.5799 GB, free: 42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.855e-06/0.4319, allocations: 0.5625 kB / 0.5799 GB, free: 42 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009804/0.4329, allocations: 404.6 kB / 0.5803 GB, free: 41.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.4329, allocations: 58.88 kB / 0.5804 GB, free: 41.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.4332, allocations: 359.5 kB / 0.5807 GB, free: 41.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.4332, allocations: 29.7 kB / 0.5807 GB, free: 41.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.4333, allocations: 209.6 kB / 0.5809 GB, free: 40.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.4333, allocations: 52.91 kB / 0.581 GB, free: 40.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.4334, allocations: 25.7 kB / 0.581 GB, free: 40.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.4334, allocations: 338.8 kB / 0.5813 GB, free: 40.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-05/0.4335, allocations: 51.97 kB / 0.5814 GB, free: 40.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.4337, allocations: 102.8 kB / 0.5815 GB, free: 40.38 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/0.4344, allocations: 378.8 kB / 0.5818 GB, free: 39.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4345, allocations: 0 / 0.5818 GB, free: 39.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000324/0.4348, allocations: 234 kB / 0.5821 GB, free: 39.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4348, allocations: 12 kB / 0.5821 GB, free: 39.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4348, allocations: 0 / 0.5821 GB, free: 39.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.4349, allocations: 24.84 kB / 0.5821 GB, free: 39.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4351, allocations: 48.75 kB / 0.5821 GB, free: 39.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006321/0.4357, allocations: 1.294 MB / 0.5834 GB, free: 38.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.4359, allocations: 34.55 kB / 0.5834 GB, free: 38.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4359, allocations: 12.16 kB / 0.5835 GB, free: 38.18 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.4361, allocations: 145.7 kB / 0.5836 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.4361, allocations: 43.52 kB / 0.5836 GB, free: 37.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.4367, allocations: 0.6012 MB / 0.5842 GB, free: 37.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4367, allocations: 8 kB / 0.5842 GB, free: 37.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4367, allocations: 0 / 0.5842 GB, free: 37.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4367, allocations: 7.922 kB / 0.5842 GB, free: 37.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.4376, allocations: 1.08 MB / 0.5853 GB, free: 36.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4376, allocations: 0 / 0.5853 GB, free: 36.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.4378, allocations: 35.97 kB / 0.5853 GB, free: 36.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.085e-05/0.4378, allocations: 20.86 kB / 0.5853 GB, free: 36.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4379, allocations: 3.984 kB / 0.5853 GB, free: 36.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005014/0.4384, allocations: 1.284 MB / 0.5866 GB, free: 34.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4384, allocations: 0.8125 kB / 0.5866 GB, free: 34.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.4389, allocations: 0.6628 MB / 0.5872 GB, free: 34.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.439, allocations: 120.5 kB / 0.5874 GB, free: 33.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.439, allocations: 8 kB / 0.5874 GB, free: 33.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.4392, allocations: 15.98 kB / 0.5874 GB, free: 33.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.4392, allocations: 15.92 kB / 0.5874 GB, free: 33.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.4393, allocations: 4 kB / 0.5874 GB, free: 33.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.4394, allocations: 259.2 kB / 0.5877 GB, free: 33.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4394, allocations: 0 / 0.5877 GB, free: 33.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002411/0.4418, allocations: 1.264 MB / 0.5889 GB, free: 32.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003976/0.4458, allocations: 1.416 MB / 0.5903 GB, free: 31.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003944/0.4462, allocations: 317.9 kB / 0.5906 GB, free: 30.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4463, allocations: 0.8438 kB / 0.5906 GB, free: 30.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.4464, allocations: 255.1 kB / 0.5908 GB, free: 30.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009001/0.4474, allocations: 163.8 kB / 0.591 GB, free: 30.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.4485, allocations: 1.204 MB / 0.5921 GB, free: 29.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.4487, allocations: 0.8115 MB / 0.5929 GB, free: 28.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.4488, allocations: 31.44 kB / 0.593 GB, free: 28.36 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4488, allocations: 4 kB / 0.593 GB, free: 28.35 MB / 414.1 MB Notification: Performance of Templates: time 0.02769/0.4765, allocations: 27.74 MB / 0.6201 GB, free: 0.6133 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestST2CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestST2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestST2CalcHelperMain.o] Error 1