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.001038/0.001039, allocations: 109.8 kB / 17.28 MB, free: 6.055 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.001001/0.001001, allocations: 189.3 kB / 18.21 MB, free: 5.145 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.269/1.269, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2539/0.2539, allocations: 48.85 MB / 320.2 MB, free: 11.25 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.001302/0.001302, allocations: 69.95 kB / 390.2 MB, free: 48.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.08359, allocations: 59.15 MB / 449.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.03119/0.1148, allocations: 34.75 MB / 484.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009363/0.1242, allocations: 8.684 MB / 492.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.1247, allocations: 15.88 kB / 492.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.1252, allocations: 111.3 kB / 492.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006598/0.1259, allocations: 250.7 kB / 493.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.1371, allocations: 3.95 MB / 497.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008525/0.138, allocations: 0.6034 MB / 497.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.1384, allocations: 221.2 kB / 497.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007919/0.1392, allocations: 462.7 kB / 498.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.1395, allocations: 278.9 kB / 498.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.1396, allocations: 27.98 kB / 498.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009456/0.149, allocations: 6.134 MB / 0.493 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1492, allocations: 59.77 kB / 0.493 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.1494, allocations: 187 kB / 0.4932 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003904/0.1533, allocations: 2.46 MB / 0.4956 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1534, allocations: 0 / 0.4956 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1534, allocations: 3.938 kB / 0.4956 GB, free: 15.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1534, allocations: 0 / 0.4956 GB, free: 15.78 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.002633/0.156, allocations: 1.037 MB / 0.4966 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1561, allocations: 11.89 kB / 0.4966 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.1563, allocations: 48.45 kB / 0.4967 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1566, allocations: 303.3 kB / 0.497 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.1567, allocations: 50.81 kB / 0.497 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.1568, allocations: 28.12 kB / 0.4971 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.1575, allocations: 333.2 kB / 0.4974 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1575, allocations: 3.938 kB / 0.4974 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.1575, allocations: 12 kB / 0.4974 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1576, allocations: 4 kB / 0.4974 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.1583, allocations: 270 kB / 0.4977 GB, free: 13.59 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.001499/0.1598, allocations: 1.431 MB / 0.499 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.1604, allocations: 206.5 kB / 0.4992 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.1607, allocations: 113 kB / 0.4994 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2304/0.3911, allocations: 32.09 MB / 0.5307 GB, free: 82.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3912, allocations: 39.56 kB / 0.5307 GB, free: 82.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.3912, allocations: 0 / 0.5307 GB, free: 82.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002629/0.3938, allocations: 0.6567 MB / 0.5314 GB, free: 82.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.3939, allocations: 58.16 kB / 0.5314 GB, free: 82.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3941, allocations: 284.4 kB / 0.5317 GB, free: 81.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3942, allocations: 28.2 kB / 0.5317 GB, free: 81.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.3943, allocations: 177.7 kB / 0.5319 GB, free: 81.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.3943, allocations: 72.84 kB / 0.532 GB, free: 81.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.3944, allocations: 45.41 kB / 0.532 GB, free: 81.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.3945, allocations: 341 kB / 0.5323 GB, free: 81.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.3948, allocations: 104.5 kB / 0.5324 GB, free: 81.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.3951, allocations: 129.6 kB / 0.5326 GB, free: 81.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.3957, allocations: 225.7 kB / 0.5328 GB, free: 81.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3957, allocations: 0 / 0.5328 GB, free: 81.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009699/0.3967, allocations: 361.9 kB / 0.5331 GB, free: 81.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3967, allocations: 4.641 kB / 0.5331 GB, free: 81.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3967, allocations: 5.469 kB / 0.5331 GB, free: 81.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/0.3973, allocations: 101.6 kB / 0.5332 GB, free: 81.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3975, allocations: 55.44 kB / 0.5333 GB, free: 81.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004737/0.398, allocations: 0.629 MB / 0.5339 GB, free: 80.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.3983, allocations: 47.72 kB / 0.5339 GB, free: 80.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.3983, allocations: 9 kB / 0.5339 GB, free: 80.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003253/0.3987, allocations: 192.4 kB / 0.5341 GB, free: 80.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002723/0.399, allocations: 120.4 kB / 0.5342 GB, free: 80.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005235/0.3995, allocations: 211.1 kB / 0.5344 GB, free: 80.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.3995, allocations: 5.688 kB / 0.5344 GB, free: 80.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0008328/0.4003, allocations: 341.7 kB / 0.5348 GB, free: 80.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.4004, allocations: 4.969 kB / 0.5348 GB, free: 80.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-06/0.4004, allocations: 1.438 kB / 0.5348 GB, free: 80.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.4006, allocations: 59.3 kB / 0.5348 GB, free: 80.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.4008, allocations: 60.72 kB / 0.5349 GB, free: 80.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.4024, allocations: 1.826 MB / 0.5367 GB, free: 79.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.4027, allocations: 37.7 kB / 0.5367 GB, free: 79.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.4027, allocations: 13.27 kB / 0.5367 GB, free: 79.02 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 9.348e-05/0.4028, allocations: 197.2 kB / 0.5369 GB, free: 78.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.4029, allocations: 34.69 kB / 0.5369 GB, free: 78.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.404, allocations: 0.6023 MB / 0.5375 GB, free: 78.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.4041, allocations: 6.672 kB / 0.5375 GB, free: 78.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4041, allocations: 7.938 kB / 0.5375 GB, free: 78.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4041, allocations: 2.234 kB / 0.5376 GB, free: 78.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.4045, allocations: 403.3 kB / 0.5379 GB, free: 78.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4045, allocations: 1.594 kB / 0.5379 GB, free: 78.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.4047, allocations: 46.89 kB / 0.538 GB, free: 78.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/0.4052, allocations: 237.9 kB / 0.5382 GB, free: 78.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.4053, allocations: 6.734 kB / 0.5382 GB, free: 78.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005784/0.4059, allocations: 0.853 MB / 0.539 GB, free: 77.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4059, allocations: 0 / 0.539 GB, free: 77.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.4073, allocations: 0.8279 MB / 0.5399 GB, free: 77.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.4074, allocations: 128.6 kB / 0.54 GB, free: 76.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.4074, allocations: 6.828 kB / 0.54 GB, free: 76.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.4077, allocations: 45.77 kB / 0.54 GB, free: 76.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.4078, allocations: 19.25 kB / 0.54 GB, free: 76.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.4078, allocations: 7.578 kB / 0.5401 GB, free: 76.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.408, allocations: 198.7 kB / 0.5402 GB, free: 76.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.408, allocations: 0 / 0.5402 GB, free: 76.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002695/0.4107, allocations: 0.9149 MB / 0.5411 GB, free: 76.78 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.004189/0.4149, allocations: 1.017 MB / 0.5421 GB, free: 76.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.4165, allocations: 0.543 MB / 0.5427 GB, free: 76.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4165, allocations: 192 / 0.5427 GB, free: 76.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.417, allocations: 207.2 kB / 0.5429 GB, free: 76.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008311/0.4179, allocations: 136.5 kB / 0.543 GB, free: 76.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4192, allocations: 0.9016 MB / 0.5439 GB, free: 75.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.4195, allocations: 0.787 MB / 0.5446 GB, free: 75.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4196, allocations: 26.33 kB / 0.5447 GB, free: 75.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4196, allocations: 0 / 0.5447 GB, free: 75.02 MB / 414.1 MB Notification: Performance of Templates: time 0.02505/0.4446, allocations: 19.88 MB / 0.5641 GB, free: 61.09 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1)