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.0009677/0.0009677, allocations: 91.61 kB / 16.65 MB, free: 6.348 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.001061/0.001062, allocations: 179.7 kB / 17.57 MB, free: 5.949 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.081/1.081, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.219/0.219, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.0004448/0.0004448, allocations: 14.27 kB / 391.9 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0747/0.07516, allocations: 60.27 MB / 452.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.02911/0.1043, allocations: 34.73 MB / 486.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009572/0.1139, allocations: 9.182 MB / 496.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.1142, allocations: 15.88 kB / 496.1 MB, free: 13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.1146, allocations: 111.3 kB / 496.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005392/0.1151, allocations: 254.7 kB / 496.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007787/0.1229, allocations: 3.56 MB / 0.4883 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.1236, allocations: 0.7789 MB / 0.4891 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.1239, allocations: 180.8 kB / 0.4892 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.1245, allocations: 442.6 kB / 0.4897 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1248, allocations: 278.9 kB / 0.4899 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1248, allocations: 12 kB / 0.4899 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007883/0.1327, allocations: 6.169 MB / 0.496 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.1328, allocations: 47.77 kB / 0.496 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1329, allocations: 196.8 kB / 0.4962 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003724/0.1366, allocations: 3.637 MB / 0.4997 GB, free: 13.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.1366, allocations: 0 / 0.4997 GB, free: 13.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1367, allocations: 4 kB / 0.4997 GB, free: 13.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1367, allocations: 0 / 0.4997 GB, free: 13.32 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.001936/0.1386, allocations: 0.994 MB / 0.5007 GB, free: 12.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1387, allocations: 8.031 kB / 0.5007 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.873e-05/0.1387, allocations: 54.73 kB / 0.5008 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.1389, allocations: 52.45 kB / 0.5008 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.1392, allocations: 303.4 kB / 0.5011 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.1392, allocations: 50.77 kB / 0.5012 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.1393, allocations: 31.94 kB / 0.5012 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.14, allocations: 349.3 kB / 0.5015 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.14, allocations: 0 / 0.5015 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.14, allocations: 8 kB / 0.5015 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1401, allocations: 8 kB / 0.5015 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.1408, allocations: 301.9 kB / 0.5018 GB, free: 11.06 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.001363/0.1422, allocations: 1.442 MB / 0.5032 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.1428, allocations: 232.9 kB / 0.5035 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.1431, allocations: 124.8 kB / 0.5036 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2087/0.3518, allocations: 32.42 MB / 0.5352 GB, free: 79.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3519, allocations: 35.84 kB / 0.5353 GB, free: 79.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.3519, allocations: 0 / 0.5353 GB, free: 79.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002493/0.3544, allocations: 0.7114 MB / 0.536 GB, free: 79.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.3544, allocations: 53.34 kB / 0.536 GB, free: 78.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.3547, allocations: 283.1 kB / 0.5363 GB, free: 78.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3547, allocations: 26.83 kB / 0.5363 GB, free: 78.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.3548, allocations: 176.8 kB / 0.5365 GB, free: 78.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.3548, allocations: 71 kB / 0.5365 GB, free: 78.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.3549, allocations: 23.75 kB / 0.5366 GB, free: 78.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.3549, allocations: 341.5 kB / 0.5369 GB, free: 78.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.3552, allocations: 110.8 kB / 0.537 GB, free: 78.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.3556, allocations: 144.9 kB / 0.5371 GB, free: 78.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.3562, allocations: 265.3 kB / 0.5374 GB, free: 78.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3562, allocations: 1.312 kB / 0.5374 GB, free: 78.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009313/0.3571, allocations: 387.8 kB / 0.5378 GB, free: 78.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.3572, allocations: 121.2 kB / 0.5379 GB, free: 78.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3572, allocations: 1.375 kB / 0.5379 GB, free: 78.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/0.3577, allocations: 107.5 kB / 0.538 GB, free: 78.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.3579, allocations: 59.38 kB / 0.538 GB, free: 78.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004372/0.3584, allocations: 0.6347 MB / 0.5387 GB, free: 77.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.3587, allocations: 54.5 kB / 0.5387 GB, free: 77.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.3587, allocations: 8.547 kB / 0.5387 GB, free: 77.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.3587, allocations: 5.078 kB / 0.5387 GB, free: 77.52 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008115/0.3595, allocations: 317 kB / 0.539 GB, free: 77.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-06/0.3596, allocations: 5.156 kB / 0.539 GB, free: 77.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.3597, allocations: 64.03 kB / 0.5391 GB, free: 77.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.36, allocations: 54.25 kB / 0.5391 GB, free: 77.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.3614, allocations: 1.64 MB / 0.5407 GB, free: 76.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.3617, allocations: 60.11 kB / 0.5408 GB, free: 76.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.3617, allocations: 16.98 kB / 0.5408 GB, free: 76.1 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.000133/0.3618, allocations: 219 kB / 0.541 GB, free: 75.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.3619, allocations: 25.91 kB / 0.5411 GB, free: 75.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.3631, allocations: 0.654 MB / 0.5417 GB, free: 75.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3632, allocations: 4.469 kB / 0.5417 GB, free: 75.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3632, allocations: 1.5 kB / 0.5417 GB, free: 75.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3632, allocations: 1.406 kB / 0.5417 GB, free: 75.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.3636, allocations: 404.2 kB / 0.5421 GB, free: 75.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3636, allocations: 0.5625 kB / 0.5421 GB, free: 75.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.3639, allocations: 48.38 kB / 0.5421 GB, free: 75.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005674/0.3644, allocations: 366.2 kB / 0.5425 GB, free: 75.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3645, allocations: 5.031 kB / 0.5425 GB, free: 75.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005353/0.365, allocations: 0.8482 MB / 0.5433 GB, free: 75.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.365, allocations: 0 / 0.5433 GB, free: 75.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.3664, allocations: 0.8817 MB / 0.5442 GB, free: 74.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.3665, allocations: 129 kB / 0.5443 GB, free: 74.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.3665, allocations: 7.391 kB / 0.5443 GB, free: 74.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.3668, allocations: 43.83 kB / 0.5443 GB, free: 74.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.3669, allocations: 19.53 kB / 0.5444 GB, free: 74.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3669, allocations: 7.188 kB / 0.5444 GB, free: 74.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.367, allocations: 201.3 kB / 0.5446 GB, free: 74.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.367, allocations: 0 / 0.5446 GB, free: 74.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002194/0.3692, allocations: 0.9106 MB / 0.5455 GB, free: 74.28 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.004561/0.3738, allocations: 2.206 MB / 0.5476 GB, free: 73.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.3751, allocations: 0.5756 MB / 0.5482 GB, free: 73.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3752, allocations: 4 kB / 0.5482 GB, free: 73.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.3756, allocations: 213.3 kB / 0.5484 GB, free: 73.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.3764, allocations: 142.3 kB / 0.5485 GB, free: 72.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/0.3811, allocations: 3.6 MB / 0.552 GB, free: 70.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.3814, allocations: 0.7854 MB / 0.5528 GB, free: 69.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.3816, allocations: 70.33 kB / 0.5529 GB, free: 69.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3818, allocations: 111.9 kB / 0.553 GB, free: 69.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3818, allocations: 3.938 kB / 0.553 GB, free: 69.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05115/0.4329, allocations: 37.46 MB / 0.5896 GB, free: 35.82 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.4331, allocations: 210.9 kB / 0.5898 GB, free: 35.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.397/3.83, allocations: 4.062 kB / 0.5898 GB, free: 35.57 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/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)