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.00196/0.00196, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.00206/0.00206, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.332/1.332, allocations: 158.6 MB / 186.1 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2915/0.2915, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.124e-06/2.124e-06, allocations: 0 / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.888e-05/4.101e-05, allocations: 6.312 kB / 353.1 MB, free: 3.762 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.3332/0.3333, allocations: 109.9 MB / 463 MB, free: 14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.3357, allocations: 0.9199 MB / 463.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005924/0.3363, allocations: 34.56 kB / 464 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.3371, allocations: 325.5 kB / 464.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008829/0.338, allocations: 461.5 kB / 464.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01157/0.3495, allocations: 4.525 MB / 469.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.3517, allocations: 1.382 MB / 470.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007314/0.3525, allocations: 392.5 kB / 471 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008202/0.3533, allocations: 0.6351 MB / 471.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.3537, allocations: 357.9 kB / 472 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.3538, allocations: 36 kB / 472 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009119/0.3629, allocations: 4.162 MB / 476.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.3631, allocations: 113.8 kB / 476.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.3636, allocations: 235.1 kB / 476.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008697/0.3723, allocations: 3.62 MB / 480.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3723, allocations: 0 / 480.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3723, allocations: 4 kB / 480.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3723, allocations: 0 / 480.2 MB, free: 7.508 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.00231/0.3746, allocations: 1.379 MB / 481.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3747, allocations: 8.031 kB / 481.6 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.3748, allocations: 131.1 kB / 481.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.3754, allocations: 465.9 kB / 482.1 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.3755, allocations: 37.31 kB / 482.2 MB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.3755, allocations: 48.62 kB / 482.2 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.3762, allocations: 0.7304 MB / 483 MB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.3762, allocations: 11.94 kB / 483 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.3762, allocations: 23.59 kB / 483 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3762, allocations: 16 kB / 483 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.3766, allocations: 251.4 kB / 483.3 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.3801, allocations: 6.344 MB / 489.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.3803, allocations: 273.4 kB / 489.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.3804, allocations: 129.2 kB / 490 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.955e-05/0.3804, allocations: 123.2 kB / 490.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.037e-05/0.3805, allocations: 156.5 kB / 490.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.883e-06/0.3805, allocations: 0 / 490.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001811/0.3807, allocations: 81.38 kB / 490.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.3808, allocations: 170.6 kB / 490.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007447/0.3816, allocations: 0.6381 MB / 491.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.3816, allocations: 31.52 kB / 491.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.382, allocations: 480.2 kB / 491.6 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.382, allocations: 14.11 kB / 491.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3821, allocations: 45.31 kB / 491.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006222/0.3827, allocations: 0.5502 MB / 492.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.484e-05/0.3828, allocations: 23.53 kB / 492.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3829, allocations: 126.4 kB / 492.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.3831, allocations: 153.4 kB / 492.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3831, allocations: 0 / 492.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003838/0.3835, allocations: 177.9 kB / 492.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3835, allocations: 8.375 kB / 492.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3835, allocations: 4 kB / 492.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3835, allocations: 4 kB / 492.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3837, allocations: 35.11 kB / 492.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3837, allocations: 4 kB / 492.8 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.3838, allocations: 11.89 kB / 492.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3839, allocations: 11.98 kB / 492.8 MB, free: 11.63 MB / 378.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.0003097/0.3842, allocations: 323.5 kB / 493.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.3843, allocations: 208.8 kB / 493.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.3845, allocations: 191.3 kB / 493.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001571/0.3846, allocations: 268 kB / 493.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001568/0.3848, allocations: 272.1 kB / 494 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001673/0.385, allocations: 274.1 kB / 494.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.3857, allocations: 0.776 MB / 495.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.94e-05/0.3858, allocations: 144.9 kB / 495.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.3859, allocations: 150.4 kB / 495.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.3861, allocations: 268.1 kB / 495.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.3863, allocations: 272 kB / 495.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001548/0.3864, allocations: 267.6 kB / 496.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001666/0.3866, allocations: 272.1 kB / 496.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.387, allocations: 491.6 kB / 496.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.3872, allocations: 194 kB / 497.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.3874, allocations: 277.3 kB / 497.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3876, allocations: 148.9 kB / 497.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.3877, allocations: 272 kB / 497.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.3878, allocations: 144.9 kB / 497.9 MB, free: 6.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005182/0.3883, allocations: 416.6 kB / 498.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3883, allocations: 0 / 498.3 MB, free: 6.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002894/0.3912, allocations: 0.7926 MB / 499.1 MB, free: 5.402 MB / 378.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.00383/0.3951, allocations: 1.123 MB / 0.4885 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3953, allocations: 54.67 kB / 0.4886 GB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3953, allocations: 0 / 0.4886 GB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/0.3953, allocations: 7.625 kB / 0.4886 GB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.3973, allocations: 0.9391 MB / 0.4895 GB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.399, allocations: 0.9936 MB / 0.4905 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3993, allocations: 280.5 kB / 0.4907 GB, free: 2.105 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.3996, allocations: 83.19 kB / 0.4908 GB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.3996, allocations: 40.42 kB / 0.4908 GB, free: 1.984 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3996, allocations: 0 / 0.4908 GB, free: 1.984 MB / 378.7 MB Notification: Performance of Templates: time 0.042/0.4416, allocations: 22.67 MB / 0.513 GB, free: 11.41 MB / 410.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: 5.961705966969021]