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.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.001474/0.001474, allocations: 75.77 kB / 21.18 MB, free: 3.375 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.001792/0.001792, allocations: 161 kB / 24.56 MB, free: 4 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8803/0.8803, allocations: 158.6 MB / 186.4 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2352/0.2352, allocations: 36.33 MB / 275.1 MB, free: 10.64 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 353.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.816e-05, allocations: 6.25 kB / 353.8 MB, free: 3.406 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297: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 master/Water.mo:297:5-297: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.06605/0.06609, allocations: 75.24 MB / 429.1 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.06853, allocations: 0.9308 MB / 430 MB, free: 6.977 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.06906, allocations: 31.62 kB / 430 MB, free: 6.945 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007894/0.06985, allocations: 309.3 kB / 430.3 MB, free: 6.641 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008094/0.07066, allocations: 460.5 kB / 430.8 MB, free: 6.188 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009903/0.08056, allocations: 4.541 MB / 435.3 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.08251, allocations: 1.377 MB / 436.7 MB, free: 248 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1735/0.2561, allocations: 390 kB / 437.1 MB, free: 40.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009844/0.257, allocations: 0.6251 MB / 437.7 MB, free: 40.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004924/0.2575, allocations: 352.9 kB / 438 MB, free: 40.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.2576, allocations: 37.25 kB / 438.1 MB, free: 40.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007188/0.2648, allocations: 4.161 MB / 442.2 MB, free: 40.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.265, allocations: 114.1 kB / 442.4 MB, free: 40.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.2655, allocations: 231.7 kB / 442.6 MB, free: 40.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00808/0.2736, allocations: 3.493 MB / 446.1 MB, free: 40.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.2736, allocations: 3.562 kB / 446.1 MB, free: 40.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2736, allocations: 0 / 446.1 MB, free: 40.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.2736, allocations: 3.219 kB / 446.1 MB, free: 40.52 MB / 362.7 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.002317/0.2759, allocations: 1.335 MB / 447.4 MB, free: 39.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.276, allocations: 8.156 kB / 447.4 MB, free: 39.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.2761, allocations: 133.1 kB / 447.6 MB, free: 39.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.2766, allocations: 461.1 kB / 448 MB, free: 39.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.2766, allocations: 37.19 kB / 448 MB, free: 39.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.2766, allocations: 44.25 kB / 448.1 MB, free: 39.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.2771, allocations: 0.6417 MB / 448.7 MB, free: 38.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2771, allocations: 10.81 kB / 448.7 MB, free: 38.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.2772, allocations: 28.03 kB / 448.8 MB, free: 38.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.2772, allocations: 15.38 kB / 448.8 MB, free: 38.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.2774, allocations: 198.4 kB / 449 MB, free: 38.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.2797, allocations: 6.242 MB / 455.2 MB, free: 33.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.2797, allocations: 267.8 kB / 455.5 MB, free: 33.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.2798, allocations: 131.2 kB / 455.6 MB, free: 33.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.2798, allocations: 119.2 kB / 455.7 MB, free: 33.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.2798, allocations: 157.6 kB / 455.9 MB, free: 32.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.2798, allocations: 0 / 455.9 MB, free: 32.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.878e-05/0.2799, allocations: 81.47 kB / 456 MB, free: 32.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.2799, allocations: 171.7 kB / 456.1 MB, free: 32.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.2803, allocations: 0.5315 MB / 456.7 MB, free: 32.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.8e-06/0.2803, allocations: 25.7 kB / 456.7 MB, free: 32.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.2804, allocations: 467 kB / 457.1 MB, free: 32.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/0.2804, allocations: 4.656 kB / 457.1 MB, free: 32.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.2805, allocations: 42.08 kB / 457.2 MB, free: 32.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.2806, allocations: 0.5336 MB / 457.7 MB, free: 31.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.2806, allocations: 8.312 kB / 457.7 MB, free: 31.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-05/0.2806, allocations: 117.5 kB / 457.8 MB, free: 31.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/0.2807, allocations: 141.5 kB / 458 MB, free: 31.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2807, allocations: 0 / 458 MB, free: 31.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002042/0.2809, allocations: 169.3 kB / 458.1 MB, free: 31.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.281, allocations: 10 kB / 458.1 MB, free: 31.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.281, allocations: 3.594 kB / 458.2 MB, free: 31.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.281, allocations: 3.25 kB / 458.2 MB, free: 31.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.2811, allocations: 31.62 kB / 458.2 MB, free: 31.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.2811, allocations: 3.625 kB / 458.2 MB, free: 31.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.2811, allocations: 17.3 kB / 458.2 MB, free: 31.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2812, allocations: 9.594 kB / 458.2 MB, free: 31.32 MB / 362.7 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 9.126e-05/0.2813, allocations: 282.1 kB / 458.5 MB, free: 31.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.2813, allocations: 207.8 kB / 458.7 MB, free: 30.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.2814, allocations: 197.7 kB / 458.9 MB, free: 30.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.2814, allocations: 267.6 kB / 459.1 MB, free: 30.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/0.2814, allocations: 273.4 kB / 459.4 MB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.2814, allocations: 264.1 kB / 459.7 MB, free: 29.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.2817, allocations: 0.6957 MB / 460.4 MB, free: 29.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.2817, allocations: 148.8 kB / 460.5 MB, free: 29.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.2817, allocations: 154.7 kB / 460.7 MB, free: 29.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.131e-05/0.2818, allocations: 266.7 kB / 460.9 MB, free: 28.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.2818, allocations: 274.7 kB / 461.2 MB, free: 28.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-05/0.2818, allocations: 267.8 kB / 461.5 MB, free: 28.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-05/0.2818, allocations: 267.6 kB / 461.7 MB, free: 28.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.762e-05/0.2819, allocations: 498.4 kB / 462.2 MB, free: 27.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.282, allocations: 186.3 kB / 462.4 MB, free: 27.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.282, allocations: 278.9 kB / 462.7 MB, free: 27.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.2821, allocations: 149.6 kB / 462.8 MB, free: 26.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.2821, allocations: 268.5 kB / 463.1 MB, free: 26.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.2821, allocations: 151.2 kB / 463.2 MB, free: 26.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002089/0.2823, allocations: 356.9 kB / 463.6 MB, free: 26.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2823, allocations: 0 / 463.6 MB, free: 26.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002092/0.2844, allocations: 0.79 MB / 464.4 MB, free: 26.26 MB / 362.7 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.002059/0.2865, allocations: 1.115 MB / 465.5 MB, free: 25.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.2866, allocations: 48.19 kB / 465.5 MB, free: 25.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2866, allocations: 2.656 kB / 465.5 MB, free: 25.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.2866, allocations: 0 / 465.5 MB, free: 25.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.2875, allocations: 0.9473 MB / 466.5 MB, free: 25.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2886, allocations: 0.973 MB / 467.4 MB, free: 24.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.2886, allocations: 118.3 kB / 467.6 MB, free: 24.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.2888, allocations: 87.09 kB / 467.6 MB, free: 24.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.2888, allocations: 36.06 kB / 467.7 MB, free: 24.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.243e-06/0.2888, allocations: 0 / 467.7 MB, free: 24.52 MB / 362.7 MB Notification: Performance of Templates: time 0.02363/0.3125, allocations: 22.68 MB / 490.4 MB, free: 10.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8884430630132556]