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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPump,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPump,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 94.52 kB / 16.3 MB, free: 5.992 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.001347/0.001348, allocations: 181.2 kB / 17.2 MB, free: 5.914 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.684/1.684, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2873/0.2873, allocations: 48.77 MB / 320.4 MB, free: 11.32 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.0008696/0.0008697, allocations: 18.59 kB / 391.2 MB, free: 50.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1197, allocations: 60.26 MB / 451.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.03166/0.1514, allocations: 29.26 MB / 480.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.1625, allocations: 7.484 MB / 488.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.1629, allocations: 15.88 kB / 488.3 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.1635, allocations: 95.45 kB / 488.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007135/0.1642, allocations: 255.3 kB / 488.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01021/0.1744, allocations: 3.44 MB / 492 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007323/0.1752, allocations: 399.7 kB / 492.4 MB, free: 460 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.1755, allocations: 180.8 kB / 492.6 MB, free: 276 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.1768, allocations: 0.7097 MB / 493.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.1773, allocations: 311 kB / 493.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.1773, allocations: 12 kB / 493.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/0.1881, allocations: 6.071 MB / 499.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1883, allocations: 51.77 kB / 499.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.1884, allocations: 89.52 kB / 499.8 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.1931, allocations: 2.425 MB / 0.4905 GB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1931, allocations: 0 / 0.4905 GB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1932, allocations: 0 / 0.4905 GB, free: 6.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1932, allocations: 0 / 0.4905 GB, free: 6.59 MB / 382.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.003055/0.1962, allocations: 0.9939 MB / 0.4915 GB, free: 5.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.1963, allocations: 16.02 kB / 0.4915 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.279e-05/0.1964, allocations: 58.55 kB / 0.4915 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.1966, allocations: 47.52 kB / 0.4916 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.197, allocations: 298.2 kB / 0.4919 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.1971, allocations: 46.27 kB / 0.4919 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.1971, allocations: 24 kB / 0.4919 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.1979, allocations: 341.2 kB / 0.4923 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1979, allocations: 7.891 kB / 0.4923 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.1979, allocations: 12 kB / 0.4923 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.198, allocations: 8 kB / 0.4923 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/0.1989, allocations: 298 kB / 0.4926 GB, free: 4.34 MB / 382.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.002496/0.2014, allocations: 1.427 MB / 0.494 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.2025, allocations: 230.5 kB / 0.4942 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4224/0.6248, allocations: 32.42 MB / 0.5258 GB, free: 85.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.6249, allocations: 38.75 kB / 0.5259 GB, free: 85.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 5.771e-06/0.625, allocations: 0 / 0.5259 GB, free: 85.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.005108/0.6301, allocations: 0.7047 MB / 0.5266 GB, free: 85.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.6302, allocations: 57.34 kB / 0.5266 GB, free: 85.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.6307, allocations: 277 kB / 0.5269 GB, free: 85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.6307, allocations: 30.14 kB / 0.5269 GB, free: 84.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.6309, allocations: 175.9 kB / 0.5271 GB, free: 84.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.631, allocations: 68.36 kB / 0.5271 GB, free: 84.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.631, allocations: 8.156 kB / 0.5271 GB, free: 84.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.6312, allocations: 348.4 kB / 0.5275 GB, free: 84.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/0.6318, allocations: 102 kB / 0.5276 GB, free: 84.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.6325, allocations: 143.1 kB / 0.5277 GB, free: 84.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.6331, allocations: 111.5 kB / 0.5278 GB, free: 84.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6332, allocations: 3.828 kB / 0.5278 GB, free: 84.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.002222/0.6354, allocations: 394.9 kB / 0.5282 GB, free: 84.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.6356, allocations: 359.4 kB / 0.5285 GB, free: 84.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.6356, allocations: 0.9688 kB / 0.5285 GB, free: 84.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.6366, allocations: 103.4 kB / 0.5286 GB, free: 84.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.6372, allocations: 56.44 kB / 0.5287 GB, free: 84.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009728/0.6382, allocations: 0.6344 MB / 0.5293 GB, free: 83.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/0.6388, allocations: 62.19 kB / 0.5294 GB, free: 83.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.6389, allocations: 9.344 kB / 0.5294 GB, free: 83.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.6389, allocations: 3.438 kB / 0.5294 GB, free: 83.54 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001751/0.6407, allocations: 323.5 kB / 0.5297 GB, free: 83.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6407, allocations: 0.9062 kB / 0.5297 GB, free: 83.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/0.6411, allocations: 60.28 kB / 0.5298 GB, free: 83.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.6416, allocations: 64.56 kB / 0.5298 GB, free: 83.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.6445, allocations: 1.657 MB / 0.5314 GB, free: 82.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000587/0.6452, allocations: 51.44 kB / 0.5315 GB, free: 82.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.6452, allocations: 7.797 kB / 0.5315 GB, free: 82.14 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 (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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000291/0.6455, allocations: 220.1 kB / 0.5317 GB, free: 81.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.6456, allocations: 30.88 kB / 0.5317 GB, free: 81.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.6482, allocations: 0.6553 MB / 0.5324 GB, free: 81.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6482, allocations: 10.52 kB / 0.5324 GB, free: 81.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6482, allocations: 3.953 kB / 0.5324 GB, free: 81.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.6482, allocations: 1.172 kB / 0.5324 GB, free: 81.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007891/0.649, allocations: 398.9 kB / 0.5328 GB, free: 81.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6491, allocations: 1.375 kB / 0.5328 GB, free: 81.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/0.6496, allocations: 49.47 kB / 0.5328 GB, free: 81.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.6508, allocations: 357.9 kB / 0.5332 GB, free: 81.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.6508, allocations: 6.672 kB / 0.5332 GB, free: 81.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.6522, allocations: 0.8503 MB / 0.534 GB, free: 81.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6522, allocations: 0 / 0.534 GB, free: 81.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.6552, allocations: 0.8714 MB / 0.5348 GB, free: 80.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.6554, allocations: 126.9 kB / 0.535 GB, free: 80.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/0.6555, allocations: 10 kB / 0.535 GB, free: 80.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.6561, allocations: 41.33 kB / 0.535 GB, free: 80.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.6562, allocations: 19.53 kB / 0.535 GB, free: 80.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.6563, allocations: 8.328 kB / 0.535 GB, free: 80.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003426/0.6566, allocations: 199.3 kB / 0.5352 GB, free: 80.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6567, allocations: 0 / 0.5352 GB, free: 80.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004314/0.661, allocations: 0.9138 MB / 0.5361 GB, free: 80.59 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 (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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01028/0.6713, allocations: 2.161 MB / 0.5382 GB, free: 79.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.674, allocations: 0.5776 MB / 0.5388 GB, free: 79.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.674, allocations: 0.9688 kB / 0.5388 GB, free: 79.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008978/0.6749, allocations: 210.5 kB / 0.539 GB, free: 79.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.6764, allocations: 137.3 kB / 0.5391 GB, free: 79.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009215/0.6857, allocations: 2.746 MB / 0.5418 GB, free: 77.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.6861, allocations: 0.7999 MB / 0.5426 GB, free: 76.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005628/0.6867, allocations: 74.44 kB / 0.5427 GB, free: 76.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.687, allocations: 111.1 kB / 0.5428 GB, free: 76.88 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.687, allocations: 4 kB / 0.5428 GB, free: 76.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07491/0.7619, allocations: 37.85 MB / 0.5797 GB, free: 46.04 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.7621, allocations: 191 kB / 0.5799 GB, free: 45.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.865/6.627, allocations: 0 / 0.5799 GB, free: 45.8 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPump_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPump.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) Environment - environmentSimulation: