Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009668/0.0009668, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.915/0.915, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08848/0.08848, allocations: 19.73 MB / 281.2 MB, free: 9.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 358 MB, free: 6.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.684e-05, allocations: 2.312 kB / 358 MB, free: 6.617 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311: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 4.0.0-dev/FluidPh.mo:311:5-311: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.2691/0.2691, allocations: 75.4 MB / 433.4 MB, free: 13.65 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2707, allocations: 0.9306 MB / 434.3 MB, free: 13.51 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.2709, allocations: 33.06 kB / 434.3 MB, free: 13.48 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.2715, allocations: 302.5 kB / 434.6 MB, free: 13.36 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004999/0.272, allocations: 463.7 kB / 435.1 MB, free: 13.3 MB / 330.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006879/0.2788, allocations: 4.543 MB / 439.6 MB, free: 11.75 MB / 330.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007724/0.2796, allocations: 1.376 MB / 441 MB, free: 10.77 MB / 330.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.2799, allocations: 384.6 kB / 441.4 MB, free: 10.62 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.2803, allocations: 0.6296 MB / 442 MB, free: 10.26 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.2806, allocations: 358.1 kB / 442.3 MB, free: 10.03 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.2806, allocations: 40 kB / 442.4 MB, free: 9.992 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/0.2846, allocations: 4.164 MB / 446.5 MB, free: 7.758 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.2847, allocations: 114.1 kB / 446.7 MB, free: 7.703 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.2848, allocations: 238.1 kB / 446.9 MB, free: 7.527 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.2872, allocations: 3.499 MB / 450.4 MB, free: 5.602 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2872, allocations: 0 / 450.4 MB, free: 5.602 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2872, allocations: 0 / 450.4 MB, free: 5.602 MB / 330.8 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.2872, allocations: 0 / 450.4 MB, free: 5.602 MB / 330.8 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.0008233/0.288, allocations: 1.343 MB / 451.7 MB, free: 4.34 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.288, allocations: 12.03 kB / 451.7 MB, free: 4.328 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.2881, allocations: 133.1 kB / 451.9 MB, free: 4.215 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.2885, allocations: 456.9 kB / 452.3 MB, free: 3.801 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2885, allocations: 43.31 kB / 452.4 MB, free: 3.777 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.2885, allocations: 41.88 kB / 452.4 MB, free: 3.75 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.2889, allocations: 0.6596 MB / 453.1 MB, free: 3.012 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2889, allocations: 7.938 kB / 453.1 MB, free: 3.004 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.2889, allocations: 21.94 kB / 453.1 MB, free: 2.996 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.289, allocations: 16 kB / 453.1 MB, free: 2.98 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.2891, allocations: 214.2 kB / 453.3 MB, free: 2.793 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.2912, allocations: 6.235 MB / 459.6 MB, free: 12.61 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.972e-05/0.2912, allocations: 266.7 kB / 459.8 MB, free: 12.34 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.2913, allocations: 130.3 kB / 459.9 MB, free: 12.21 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.2913, allocations: 127.2 kB / 460.1 MB, free: 12.09 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.2913, allocations: 156.5 kB / 460.2 MB, free: 11.92 MB / 346.8 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2913, allocations: 0 / 460.2 MB, free: 11.92 MB / 346.8 MB Notification: Performance of matching and sorting (n=0): time 8.016e-05/0.2914, allocations: 85.36 kB / 460.3 MB, free: 11.83 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.2915, allocations: 170.6 kB / 460.5 MB, free: 11.65 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.2918, allocations: 0.5264 MB / 461 MB, free: 11.2 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.2918, allocations: 25.7 kB / 461 MB, free: 11.17 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.292, allocations: 468.5 kB / 461.5 MB, free: 10.84 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.292, allocations: 3.75 kB / 461.5 MB, free: 10.84 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.2921, allocations: 42.3 kB / 461.5 MB, free: 10.79 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.2922, allocations: 0.5345 MB / 462.1 MB, free: 10.27 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.2922, allocations: 9.062 kB / 462.1 MB, free: 10.26 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.2923, allocations: 117.6 kB / 462.2 MB, free: 10.1 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.681e-05/0.2924, allocations: 139.7 kB / 462.3 MB, free: 9.918 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.2924, allocations: 8 kB / 462.3 MB, free: 9.91 MB / 346.8 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001905/0.2926, allocations: 171.4 kB / 462.5 MB, free: 9.75 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2926, allocations: 8.375 kB / 462.5 MB, free: 9.742 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2926, allocations: 8 kB / 462.5 MB, free: 9.734 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2926, allocations: 4 kB / 462.5 MB, free: 9.73 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.2927, allocations: 23.92 kB / 462.5 MB, free: 9.707 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2927, allocations: 4 kB / 462.5 MB, free: 9.703 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.2928, allocations: 15.89 kB / 462.6 MB, free: 9.688 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2928, allocations: 7.5 kB / 462.6 MB, free: 9.684 MB / 346.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.2929, allocations: 283.6 kB / 462.8 MB, free: 9.395 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.293, allocations: 212.2 kB / 463 MB, free: 9.184 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.759e-05/0.293, allocations: 187.7 kB / 463.2 MB, free: 9.004 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.452e-05/0.2931, allocations: 277.1 kB / 463.5 MB, free: 8.727 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-05/0.2931, allocations: 264.1 kB / 463.8 MB, free: 8.461 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.309e-05/0.2932, allocations: 268 kB / 464 MB, free: 8.191 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.2935, allocations: 0.694 MB / 464.7 MB, free: 7.523 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/0.2935, allocations: 148 kB / 464.9 MB, free: 7.375 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.2936, allocations: 156.8 kB / 465 MB, free: 7.215 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-05/0.2936, allocations: 268.8 kB / 465.3 MB, free: 6.945 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.2937, allocations: 272 kB / 465.5 MB, free: 6.672 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.177e-05/0.2937, allocations: 264.1 kB / 465.8 MB, free: 6.406 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-05/0.2938, allocations: 270.5 kB / 466.1 MB, free: 6.137 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.2939, allocations: 497.2 kB / 466.5 MB, free: 5.625 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.294, allocations: 196.1 kB / 466.7 MB, free: 5.43 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.2941, allocations: 272 kB / 467 MB, free: 5.156 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.2942, allocations: 144.9 kB / 467.1 MB, free: 5.008 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.2942, allocations: 272 kB / 467.4 MB, free: 4.734 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.2943, allocations: 144.9 kB / 467.6 MB, free: 4.586 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0002082/0.2945, allocations: 359 kB / 467.9 MB, free: 4.289 MB / 346.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2945, allocations: 0 / 467.9 MB, free: 4.289 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.0009207/0.2954, allocations: 0.7858 MB / 468.7 MB, free: 3.543 MB / 346.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001597/0.297, allocations: 1.145 MB / 469.8 MB, free: 2.48 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 9.192e-05/0.2971, allocations: 43.23 kB / 469.9 MB, free: 2.438 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2971, allocations: 0 / 469.9 MB, free: 2.438 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.2971, allocations: 3.938 kB / 469.9 MB, free: 2.434 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.2979, allocations: 0.9404 MB / 470.8 MB, free: 1.52 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009886/0.2989, allocations: 0.9786 MB / 471.8 MB, free: 0.5312 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.042e-05/0.2989, allocations: 113.2 kB / 471.9 MB, free: 412 kB / 346.8 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.2991, allocations: 91.16 kB / 472 MB, free: 316 kB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.2992, allocations: 36.48 kB / 472 MB, free: 280 kB / 346.8 MB Notification: Performance of SimCode: time 6.21e-07/0.2992, allocations: 0 / 472 MB, free: 280 kB / 346.8 MB Notification: Performance of Templates: time 0.02332/0.3225, allocations: 26.33 MB / 498.4 MB, free: 6.156 MB / 378.8 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5677797738462687]