Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.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.TestAccumulator,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestAccumulator,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator",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.0008496/0.0008496, allocations: 96.83 kB / 16.65 MB, free: 6.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.0008784/0.0008785, allocations: 182 kB / 17.56 MB, free: 6.199 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.157/1.157, 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.2412/0.2412, 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.00044/0.00044, allocations: 14.02 kB / 391.9 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07912/0.07957, allocations: 60.28 MB / 452.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.02882/0.1084, allocations: 32.64 MB / 484.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009078/0.1175, allocations: 8.706 MB / 493.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.1179, allocations: 7.938 kB / 493.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.1183, allocations: 107.3 kB / 493.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.1186, allocations: 198.8 kB / 493.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007745/0.1264, allocations: 3.501 MB / 497.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006932/0.1271, allocations: 0.755 MB / 498.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.1274, allocations: 190.8 kB / 498.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1276, allocations: 187.2 kB / 498.5 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1279, allocations: 222.9 kB / 498.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.1279, allocations: 15.94 kB / 498.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008239/0.1361, allocations: 5.943 MB / 0.4928 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.1362, allocations: 55.7 kB / 0.4929 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.1364, allocations: 196.8 kB / 0.493 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005169/0.1416, allocations: 3.485 MB / 0.4965 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1416, allocations: 0 / 0.4965 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1416, allocations: 4 kB / 0.4965 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1416, allocations: 0 / 0.4965 GB, free: 0.6992 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002067/0.1437, allocations: 0.9978 MB / 0.4974 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1437, allocations: 8.031 kB / 0.4974 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.1438, allocations: 54.73 kB / 0.4975 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1439, allocations: 56.45 kB / 0.4975 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.1443, allocations: 303.3 kB / 0.4978 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.1443, allocations: 20.92 kB / 0.4979 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.1444, allocations: 40.12 kB / 0.4979 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.145, allocations: 325.3 kB / 0.4982 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.145, allocations: 0 / 0.4982 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.1451, allocations: 16 kB / 0.4982 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1451, allocations: 4 kB / 0.4982 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.1457, allocations: 262 kB / 0.4985 GB, free: 14.52 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.00134/0.147, allocations: 1.329 MB / 0.4998 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.1475, allocations: 243.5 kB / 0.5 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.1478, allocations: 132.8 kB / 0.5001 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2061/0.3539, allocations: 32.28 MB / 0.5317 GB, free: 81.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.354, allocations: 35.59 kB / 0.5317 GB, free: 81.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.354, allocations: 0 / 0.5317 GB, free: 81.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.002569/0.3566, allocations: 1.098 MB / 0.5328 GB, free: 80.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.3566, allocations: 54.84 kB / 0.5328 GB, free: 80.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.3569, allocations: 309.2 kB / 0.5331 GB, free: 80.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3569, allocations: 32.16 kB / 0.5331 GB, free: 80.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.357, allocations: 183.9 kB / 0.5333 GB, free: 80.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.3571, allocations: 100.9 kB / 0.5334 GB, free: 80.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.3571, allocations: 27.77 kB / 0.5334 GB, free: 80.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.3572, allocations: 347.1 kB / 0.5338 GB, free: 80.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.3574, allocations: 111 kB / 0.5339 GB, free: 80.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.3577, allocations: 148.8 kB / 0.534 GB, free: 80.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.3582, allocations: 266.3 kB / 0.5343 GB, free: 79.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3582, allocations: 1.094 kB / 0.5343 GB, free: 79.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001215/0.3594, allocations: 0.5013 MB / 0.5348 GB, free: 79.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.3595, allocations: 103.6 kB / 0.5349 GB, free: 79.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3595, allocations: 5.062 kB / 0.5349 GB, free: 79.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.3606, allocations: 257.5 kB / 0.5351 GB, free: 79.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3607, allocations: 39.92 kB / 0.5351 GB, free: 79.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008036/0.3616, allocations: 0.8087 MB / 0.5359 GB, free: 79.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.3618, allocations: 36.97 kB / 0.536 GB, free: 79.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3618, allocations: 10.11 kB / 0.536 GB, free: 79.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/0.3618, allocations: 4 kB / 0.536 GB, free: 79.24 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/0.3629, allocations: 436.5 kB / 0.5364 GB, free: 79.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.363, allocations: 1.5 kB / 0.5364 GB, free: 79.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009896/0.3639, allocations: 242 kB / 0.5366 GB, free: 79.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.3641, allocations: 43.7 kB / 0.5367 GB, free: 79.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008162/0.3649, allocations: 0.7932 MB / 0.5374 GB, free: 78.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.3651, allocations: 33.53 kB / 0.5375 GB, free: 78.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3652, allocations: 9.031 kB / 0.5375 GB, free: 78.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.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 {(6,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.3653, allocations: 221.3 kB / 0.5377 GB, free: 78.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.3654, allocations: 33.73 kB / 0.5377 GB, free: 78.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.3664, allocations: 0.5733 MB / 0.5383 GB, free: 78.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.3664, allocations: 4.875 kB / 0.5383 GB, free: 78.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3665, allocations: 5.844 kB / 0.5383 GB, free: 78.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3665, allocations: 1.125 kB / 0.5383 GB, free: 78.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.3679, allocations: 1.057 MB / 0.5393 GB, free: 77.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3679, allocations: 2.281 kB / 0.5393 GB, free: 77.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3683, allocations: 76.12 kB / 0.5394 GB, free: 77.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/0.3685, allocations: 57.56 kB / 0.5395 GB, free: 77.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3685, allocations: 11.41 kB / 0.5395 GB, free: 77.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007668/0.3693, allocations: 1.337 MB / 0.5408 GB, free: 76.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3693, allocations: 2.281 kB / 0.5408 GB, free: 76.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.3704, allocations: 0.7194 MB / 0.5415 GB, free: 76.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.3705, allocations: 134.4 kB / 0.5416 GB, free: 75.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.3706, allocations: 10.62 kB / 0.5416 GB, free: 75.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.3708, allocations: 26.2 kB / 0.5417 GB, free: 75.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.3709, allocations: 23.33 kB / 0.5417 GB, free: 75.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3709, allocations: 6.344 kB / 0.5417 GB, free: 75.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.3711, allocations: 221.9 kB / 0.5419 GB, free: 75.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3711, allocations: 5.031 kB / 0.5419 GB, free: 75.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002075/0.3732, allocations: 0.8678 MB / 0.5427 GB, free: 75.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.Mg,Accumulator1.Tg) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003894/0.3771, allocations: 2.111 MB / 0.5448 GB, free: 74.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.3786, allocations: 0.6106 MB / 0.5454 GB, free: 74.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3786, allocations: 4 kB / 0.5454 GB, free: 74.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.3791, allocations: 323.5 kB / 0.5457 GB, free: 74.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008615/0.38, allocations: 156.7 kB / 0.5459 GB, free: 74.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.3851, allocations: 4.239 MB / 0.55 GB, free: 71.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.3852, allocations: 0.8005 MB / 0.5508 GB, free: 71.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.3854, allocations: 34.44 kB / 0.5508 GB, free: 71.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3855, allocations: 129.3 kB / 0.5509 GB, free: 71.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3855, allocations: 0 / 0.5509 GB, free: 71.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04706/0.4326, allocations: 38.07 MB / 0.5881 GB, free: 37.56 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.4328, allocations: 234.2 kB / 0.5883 GB, free: 37.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.388/3.821, allocations: 8 kB / 0.5883 GB, free: 37.29 MB / 414.1 MB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)