Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSources.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.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 97.56 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.001176/0.001176, allocations: 181.3 kB / 17.2 MB, free: 5.906 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.581/1.581, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4391/0.4391, allocations: 48.77 MB / 320.4 MB, free: 3.828 MB / 254.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.0005981/0.0005982, allocations: 12 kB / 391.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1405, allocations: 60.26 MB / 451.4 MB, free: 1.938 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:186:5-186:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:186:5-186:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.2913/0.4319, allocations: 72.53 MB / 0.5116 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.4348, allocations: 1.145 MB / 0.5128 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007442/0.4356, allocations: 32.34 kB / 0.5128 GB, free: 416 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.4363, allocations: 199 kB / 0.513 GB, free: 236 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.4374, allocations: 490 kB / 0.5134 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01273/0.4501, allocations: 3.643 MB / 0.517 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.4522, allocations: 0.8559 MB / 0.5178 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005892/0.4528, allocations: 334.6 kB / 0.5182 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006404/0.4535, allocations: 331.5 kB / 0.5185 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.4539, allocations: 295.2 kB / 0.5188 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.4539, allocations: 16 kB / 0.5188 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.464, allocations: 4.036 MB / 0.5227 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.4643, allocations: 83.52 kB / 0.5228 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.4648, allocations: 165.3 kB / 0.5229 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005279/0.4701, allocations: 1.953 MB / 0.5249 GB, free: 7.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4701, allocations: 0 / 0.5249 GB, free: 7.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4701, allocations: 0 / 0.5249 GB, free: 7.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4701, allocations: 4 kB / 0.5249 GB, free: 7.328 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002346/0.4725, allocations: 1.168 MB / 0.526 GB, free: 6.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.4725, allocations: 8.031 kB / 0.526 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.4727, allocations: 98.88 kB / 0.5261 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.4733, allocations: 446.7 kB / 0.5265 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.4733, allocations: 44.89 kB / 0.5266 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.4734, allocations: 51.98 kB / 0.5266 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.4742, allocations: 0.5966 MB / 0.5272 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4742, allocations: 7.938 kB / 0.5272 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.4743, allocations: 24 kB / 0.5272 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.4743, allocations: 16 kB / 0.5272 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.4747, allocations: 251.9 kB / 0.5275 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006121/0.4808, allocations: 7.117 MB / 0.5344 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.481, allocations: 169.1 kB / 0.5346 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.4811, allocations: 75.28 kB / 0.5347 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.106e-05/0.4812, allocations: 117.8 kB / 0.5348 GB, free: 12.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.895e-06/0.4812, allocations: 0 / 0.5348 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002042/0.4814, allocations: 108.7 kB / 0.5349 GB, free: 12.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/0.4815, allocations: 130.6 kB / 0.535 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009436/0.4824, allocations: 0.7646 MB / 0.5358 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.4825, allocations: 29.69 kB / 0.5358 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.4828, allocations: 385.8 kB / 0.5362 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.4828, allocations: 8 kB / 0.5362 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.4828, allocations: 4 kB / 0.5362 GB, free: 10.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4829, allocations: 310 kB / 0.5365 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.483, allocations: 12 kB / 0.5365 GB, free: 10.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.4831, allocations: 97.25 kB / 0.5366 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.788e-05/0.4831, allocations: 31.92 kB / 0.5366 GB, free: 10.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4831, allocations: 4 kB / 0.5366 GB, free: 10.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003286/0.4835, allocations: 200.9 kB / 0.5368 GB, free: 9.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4835, allocations: 11.94 kB / 0.5368 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4835, allocations: 4 kB / 0.5368 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4835, allocations: 4.375 kB / 0.5368 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4836, allocations: 31.92 kB / 0.5368 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4836, allocations: 0 / 0.5368 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.4839, allocations: 56.42 kB / 0.5369 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.4839, allocations: 8 kB / 0.5369 GB, free: 9.875 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.4841, allocations: 237 kB / 0.5371 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4843, allocations: 188 kB / 0.5373 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.4844, allocations: 163.7 kB / 0.5375 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.946e-05/0.4845, allocations: 188.2 kB / 0.5376 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.117e-05/0.4845, allocations: 176.3 kB / 0.5378 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-05/0.4846, allocations: 180.2 kB / 0.538 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.4851, allocations: 0.6495 MB / 0.5386 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/0.4851, allocations: 101 kB / 0.5387 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.4852, allocations: 109.7 kB / 0.5388 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-05/0.4853, allocations: 180.3 kB / 0.539 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/0.4853, allocations: 180.2 kB / 0.5392 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.636e-05/0.4854, allocations: 184.2 kB / 0.5393 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.487e-05/0.4855, allocations: 177.3 kB / 0.5395 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.4857, allocations: 395 kB / 0.5399 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.4859, allocations: 269.1 kB / 0.5401 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.4861, allocations: 182.5 kB / 0.5403 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.4863, allocations: 101 kB / 0.5404 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-05/0.4864, allocations: 180.2 kB / 0.5406 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.4864, allocations: 105 kB / 0.5407 GB, free: 5.773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006273/0.4871, allocations: 0.5232 MB / 0.5412 GB, free: 5.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4871, allocations: 3.938 kB / 0.5412 GB, free: 5.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002302/0.4894, allocations: 0.7415 MB / 0.5419 GB, free: 4.492 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00253/0.4919, allocations: 0.9723 MB / 0.5429 GB, free: 3.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.4921, allocations: 48.05 kB / 0.5429 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4921, allocations: 0 / 0.5429 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.4921, allocations: 0 / 0.5429 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/0.4947, allocations: 0.9611 MB / 0.5439 GB, free: 2.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.4961, allocations: 1.054 MB / 0.5449 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.4965, allocations: 0.8901 MB / 0.5458 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.4969, allocations: 126.8 kB / 0.5459 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.497, allocations: 51.42 kB / 0.5459 GB, free: 340 kB / 414.1 MB Notification: Performance of SimCode: time 2.534e-06/0.497, allocations: 0 / 0.5459 GB, free: 340 kB / 414.1 MB Notification: Performance of Templates: time 0.04025/0.5373, allocations: 26 MB / 0.5713 GB, free: 6.379 MB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) Environment - environmentSimulation: