Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006788/0.0006788, allocations: 93.7 kB / 17.31 MB, free: 6.535 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.0007013/0.0007013, allocations: 175.9 kB / 18.21 MB, free: 5.684 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.164/1.164, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2315/0.2315, allocations: 48.78 MB / 321.5 MB, free: 11.12 MB / 270.1 MB 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.0004676/0.0004677, allocations: 14.02 kB / 392.5 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07842/0.0789, allocations: 60.27 MB / 452.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.0297/0.1086, allocations: 34.73 MB / 487.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009667/0.1183, allocations: 9.17 MB / 496.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.1186, allocations: 11.88 kB / 496.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.119, allocations: 115.3 kB / 496.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005519/0.1195, allocations: 254.7 kB / 497 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008188/0.1277, allocations: 3.567 MB / 0.4888 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007083/0.1285, allocations: 0.7867 MB / 0.4896 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.1287, allocations: 180.8 kB / 0.4898 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.1294, allocations: 430.7 kB / 0.4902 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.1297, allocations: 278.9 kB / 0.4904 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.1297, allocations: 16 kB / 0.4905 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008206/0.1379, allocations: 6.161 MB / 0.4965 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.138, allocations: 55.75 kB / 0.4965 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.1382, allocations: 184.8 kB / 0.4967 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.1409, allocations: 2.44 MB / 0.4991 GB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1409, allocations: 0 / 0.4991 GB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1409, allocations: 4 kB / 0.4991 GB, free: 14.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1409, allocations: 0 / 0.4991 GB, free: 14.66 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002207/0.1431, allocations: 0.994 MB / 0.5001 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1431, allocations: 12.03 kB / 0.5001 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1433, allocations: 48.45 kB / 0.5001 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1436, allocations: 311.3 kB / 0.5004 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/0.1437, allocations: 46.83 kB / 0.5005 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.1437, allocations: 28.12 kB / 0.5005 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006743/0.1444, allocations: 345.2 kB / 0.5008 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1444, allocations: 4 kB / 0.5008 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.1445, allocations: 12 kB / 0.5008 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1445, allocations: 7.938 kB / 0.5008 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007621/0.1453, allocations: 298 kB / 0.5011 GB, free: 12.46 MB / 398.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.001431/0.1467, allocations: 1.45 MB / 0.5025 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.1473, allocations: 214.6 kB / 0.5028 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.1476, allocations: 133 kB / 0.5029 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2166/0.3643, allocations: 32.41 MB / 0.5345 GB, free: 79.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.3643, allocations: 32.34 kB / 0.5346 GB, free: 79.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.913e-06/0.3643, allocations: 4.875 kB / 0.5346 GB, free: 79.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002536/0.3669, allocations: 0.7081 MB / 0.5353 GB, free: 79.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.3669, allocations: 56.83 kB / 0.5353 GB, free: 79.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.3672, allocations: 277.7 kB / 0.5356 GB, free: 79.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3672, allocations: 30.58 kB / 0.5356 GB, free: 79.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.3673, allocations: 181.3 kB / 0.5358 GB, free: 79.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.3673, allocations: 71.89 kB / 0.5358 GB, free: 79.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.3674, allocations: 24.03 kB / 0.5359 GB, free: 79.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.3674, allocations: 342.7 kB / 0.5362 GB, free: 79.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.3677, allocations: 106.4 kB / 0.5363 GB, free: 79.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.368, allocations: 146 kB / 0.5364 GB, free: 78.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.3686, allocations: 265.6 kB / 0.5367 GB, free: 78.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3686, allocations: 0.5625 kB / 0.5367 GB, free: 78.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009199/0.3696, allocations: 391.3 kB / 0.5371 GB, free: 78.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.3696, allocations: 113.9 kB / 0.5372 GB, free: 78.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3696, allocations: 1.438 kB / 0.5372 GB, free: 78.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.3701, allocations: 106 kB / 0.5373 GB, free: 78.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.3704, allocations: 55.84 kB / 0.5373 GB, free: 78.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004536/0.3708, allocations: 0.6422 MB / 0.5379 GB, free: 78.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.3711, allocations: 54.45 kB / 0.538 GB, free: 78.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.3711, allocations: 9.219 kB / 0.538 GB, free: 78.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.3712, allocations: 5.031 kB / 0.538 GB, free: 78.2 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008333/0.372, allocations: 315.7 kB / 0.5383 GB, free: 78.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.372, allocations: 6.062 kB / 0.5383 GB, free: 78.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.3722, allocations: 61.45 kB / 0.5384 GB, free: 78.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.3724, allocations: 61.88 kB / 0.5384 GB, free: 78.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.3739, allocations: 1.651 MB / 0.5401 GB, free: 76.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.3742, allocations: 61.28 kB / 0.5401 GB, free: 76.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3742, allocations: 9.938 kB / 0.5401 GB, free: 76.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.3743, allocations: 219.3 kB / 0.5403 GB, free: 76.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.3744, allocations: 27.42 kB / 0.5404 GB, free: 76.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.3757, allocations: 0.6422 MB / 0.541 GB, free: 76.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.3757, allocations: 13.62 kB / 0.541 GB, free: 76.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.3757, allocations: 0 / 0.541 GB, free: 76.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3757, allocations: 2.469 kB / 0.541 GB, free: 76.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.3761, allocations: 411.8 kB / 0.5414 GB, free: 76.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3761, allocations: 0 / 0.5414 GB, free: 76.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.3764, allocations: 50.45 kB / 0.5414 GB, free: 76.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005756/0.377, allocations: 359.2 kB / 0.5418 GB, free: 76.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.377, allocations: 5.391 kB / 0.5418 GB, free: 76.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005747/0.3776, allocations: 0.851 MB / 0.5426 GB, free: 75.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3776, allocations: 4.5 kB / 0.5426 GB, free: 75.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.379, allocations: 0.8781 MB / 0.5435 GB, free: 75.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.3791, allocations: 123.2 kB / 0.5436 GB, free: 75.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.3792, allocations: 6.906 kB / 0.5436 GB, free: 75.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.3794, allocations: 40.94 kB / 0.5436 GB, free: 75.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.3795, allocations: 23.75 kB / 0.5437 GB, free: 75.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.3795, allocations: 11.58 kB / 0.5437 GB, free: 75.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.3797, allocations: 198.8 kB / 0.5439 GB, free: 75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3797, allocations: 0 / 0.5439 GB, free: 75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00206/0.3818, allocations: 0.9134 MB / 0.5448 GB, free: 74.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002918/0.3847, allocations: 1.009 MB / 0.5457 GB, free: 74.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.386, allocations: 0.5864 MB / 0.5463 GB, free: 74.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.386, allocations: 0 / 0.5463 GB, free: 74.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.3865, allocations: 212.4 kB / 0.5465 GB, free: 74.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.3873, allocations: 140.6 kB / 0.5467 GB, free: 74.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3883, allocations: 0.9629 MB / 0.5476 GB, free: 73.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.3885, allocations: 0.7861 MB / 0.5484 GB, free: 73.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.3886, allocations: 32.7 kB / 0.5484 GB, free: 73.14 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3886, allocations: 0 / 0.5484 GB, free: 73.14 MB / 414.1 MB Notification: Performance of Templates: time 0.02028/0.4089, allocations: 19.85 MB / 0.5678 GB, free: 58.99 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.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.WaterPumpCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpCalcHelperMain.o] Error 1