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.0008028/0.0008028, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003003/0.003003, allocations: 160.5 kB / 24.7 MB, free: 9.418 MB / 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.8451/0.8451, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.2033/0.2033, allocations: 36.34 MB / 275.1 MB, free: 10.9 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.224e-06/2.224e-06, allocations: 0 / 415.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.471e-05, allocations: 2.281 kB / 415.6 MB, free: 5.582 MB / 346.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.2521/0.2521, allocations: 99.57 MB / 0.5031 GB, free: 9.586 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.2546, allocations: 0.9308 MB / 0.504 GB, free: 8.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.255, allocations: 35.56 kB / 0.504 GB, free: 8.617 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.2557, allocations: 317.3 kB / 0.5043 GB, free: 8.305 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005534/0.2562, allocations: 468.5 kB / 0.5048 GB, free: 7.844 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.2665, allocations: 4.526 MB / 0.5092 GB, free: 3.297 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.2677, allocations: 1.373 MB / 0.5105 GB, free: 1.918 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.2681, allocations: 375.3 kB / 0.5109 GB, free: 1.539 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.2686, allocations: 0.6349 MB / 0.5115 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.2689, allocations: 358.8 kB / 0.5119 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.269, allocations: 36 kB / 0.5119 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005809/0.2748, allocations: 4.158 MB / 0.516 GB, free: 12.35 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.468e-05/0.2749, allocations: 119.3 kB / 0.5161 GB, free: 12.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.275, allocations: 231.4 kB / 0.5163 GB, free: 12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.2784, allocations: 3.613 MB / 0.5198 GB, free: 8.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2784, allocations: 0 / 0.5198 GB, free: 8.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2784, allocations: 8 kB / 0.5198 GB, free: 8.375 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2784, allocations: 3.938 kB / 0.5198 GB, free: 8.371 MB / 426.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.0011/0.2795, allocations: 1.238 MB / 0.521 GB, free: 7.098 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2796, allocations: 8.031 kB / 0.521 GB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.2797, allocations: 96.33 kB / 0.5211 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.2801, allocations: 429.2 kB / 0.5215 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.2801, allocations: 37.38 kB / 0.5216 GB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.2802, allocations: 44.38 kB / 0.5216 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.2807, allocations: 0.6047 MB / 0.5222 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2808, allocations: 7.938 kB / 0.5222 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2808, allocations: 24 kB / 0.5222 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.2808, allocations: 16 kB / 0.5223 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.281, allocations: 251.3 kB / 0.5225 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.2832, allocations: 4.395 MB / 0.5268 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.2832, allocations: 177.1 kB / 0.527 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.2832, allocations: 80.14 kB / 0.527 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.2833, allocations: 75.28 kB / 0.5271 GB, free: 0.543 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.2833, allocations: 109.8 kB / 0.5272 GB, free: 436 kB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.2833, allocations: 0 / 0.5272 GB, free: 436 kB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 9.559e-05/0.2834, allocations: 89.31 kB / 0.5273 GB, free: 340 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.2834, allocations: 130.6 kB / 0.5274 GB, free: 196 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.2838, allocations: 0.5041 MB / 0.5279 GB, free: 15.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.2838, allocations: 29.7 kB / 0.5279 GB, free: 15.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.284, allocations: 423.4 kB / 0.5283 GB, free: 15.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.284, allocations: 0 / 0.5283 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.2841, allocations: 37.66 kB / 0.5284 GB, free: 15.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2842, allocations: 366.8 kB / 0.5287 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.2842, allocations: 12 kB / 0.5287 GB, free: 14.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.567e-05/0.2842, allocations: 90.3 kB / 0.5288 GB, free: 14.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.2845, allocations: 114.1 kB / 0.5289 GB, free: 14.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2846, allocations: 4 kB / 0.5289 GB, free: 14.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002365/0.2848, allocations: 181 kB / 0.5291 GB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2848, allocations: 10.66 kB / 0.5291 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2848, allocations: 4 kB / 0.5291 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2848, allocations: 0 / 0.5291 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.2849, allocations: 27.92 kB / 0.5292 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2849, allocations: 4 kB / 0.5292 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.285, allocations: 7.953 kB / 0.5292 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.285, allocations: 8.375 kB / 0.5292 GB, free: 14.29 MB / 442.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 0.0001458/0.2852, allocations: 245 kB / 0.5294 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.2852, allocations: 164.5 kB / 0.5296 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.955e-05/0.2853, allocations: 148.9 kB / 0.5297 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/0.2853, allocations: 184.2 kB / 0.5299 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.989e-05/0.2854, allocations: 184.2 kB / 0.5301 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.646e-05/0.2854, allocations: 180.3 kB / 0.5302 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.2857, allocations: 0.5553 MB / 0.5308 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-05/0.2858, allocations: 105 kB / 0.5309 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.2858, allocations: 108.9 kB / 0.531 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.343e-05/0.2858, allocations: 180.4 kB / 0.5311 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.2859, allocations: 192.2 kB / 0.5313 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.05e-05/0.2859, allocations: 180.2 kB / 0.5315 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-05/0.286, allocations: 180.3 kB / 0.5317 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2861, allocations: 363.4 kB / 0.532 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.2862, allocations: 144.6 kB / 0.5322 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.2862, allocations: 184.2 kB / 0.5323 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.2863, allocations: 101 kB / 0.5324 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.2864, allocations: 192.2 kB / 0.5326 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.2864, allocations: 101 kB / 0.5327 GB, free: 10.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.2866, allocations: 347.1 kB / 0.533 GB, free: 10.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2866, allocations: 4 kB / 0.533 GB, free: 10.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009987/0.2876, allocations: 0.7867 MB / 0.5338 GB, free: 9.34 MB / 442.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.00168/0.2893, allocations: 1.074 MB / 0.5349 GB, free: 8.254 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.2894, allocations: 47.84 kB / 0.5349 GB, free: 8.207 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2894, allocations: 0.75 kB / 0.5349 GB, free: 8.207 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.2894, allocations: 0 / 0.5349 GB, free: 8.207 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008615/0.2903, allocations: 0.6934 MB / 0.5356 GB, free: 7.512 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2915, allocations: 0.9533 MB / 0.5365 GB, free: 6.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.2917, allocations: 280.5 kB / 0.5368 GB, free: 6.219 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.2917, allocations: 56.41 kB / 0.5368 GB, free: 6.164 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2917, allocations: 0 / 0.5368 GB, free: 6.164 MB / 442.7 MB Notification: Performance of Templates: time 0.01658/0.3083, allocations: 17.8 MB / 0.5542 GB, free: 4.336 MB / 458.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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.873233443126082] Failed to read output from testmodel.py, exit status != 0: 0.3155575143173337 0.32473997200000004 0.044553720000000005 Calling exit ...