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.0009337/0.0009337, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009871/0.0009871, allocations: 171.5 kB / 24.91 MB, free: 8.723 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.9556/0.9556, allocations: 158.6 MB / 186.8 MB, free: 2.328 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.1851/0.1851, allocations: 36.34 MB / 275.4 MB, free: 10.53 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 / 305.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.28e-05, allocations: 2.312 kB / 305.2 MB, free: 13.96 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.07393/0.07395, allocations: 80.75 MB / 386 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.07725, allocations: 0.9655 MB / 387 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.07767, allocations: 35.62 kB / 387 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007671/0.07843, allocations: 289.3 kB / 387.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007462/0.07918, allocations: 460.5 kB / 387.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01416/0.09334, allocations: 4.303 MB / 392 MB, free: 13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.09507, allocations: 1.385 MB / 393.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005967/0.09566, allocations: 405.4 kB / 393.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007517/0.09642, allocations: 0.6272 MB / 394.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004613/0.09688, allocations: 338.8 kB / 394.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.09693, allocations: 36 kB / 394.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0087/0.1056, allocations: 4.412 MB / 399.2 MB, free: 5.777 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1058, allocations: 115.3 kB / 399.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.106, allocations: 227.5 kB / 399.5 MB, free: 5.441 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005557/0.1115, allocations: 3.491 MB / 403 MB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1115, allocations: 0 / 403 MB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1115, allocations: 0 / 403 MB, free: 1.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1115, allocations: 0 / 403 MB, free: 1.941 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.007578/0.1191, allocations: 1.228 MB / 404.3 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1192, allocations: 8.031 kB / 404.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.1193, allocations: 100.8 kB / 404.4 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.1201, allocations: 429.2 kB / 404.8 MB, free: 136 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.1201, allocations: 41.38 kB / 404.8 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.1201, allocations: 48.38 kB / 404.9 MB, free: 48 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.1206, allocations: 0.5338 MB / 405.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1206, allocations: 7.938 kB / 405.4 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1206, allocations: 24 kB / 405.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1206, allocations: 12 kB / 405.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.1208, allocations: 171.3 kB / 405.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008455/0.1293, allocations: 4.198 MB / 409.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.947e-05/0.1293, allocations: 173.1 kB / 410 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.1293, allocations: 80.14 kB / 410.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1294, allocations: 75.28 kB / 410.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1294, allocations: 109.8 kB / 410.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1294, allocations: 0 / 410.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.364e-05/0.1295, allocations: 73.58 kB / 410.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1295, allocations: 126.7 kB / 410.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.1299, allocations: 480 kB / 410.9 MB, free: 9.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.1299, allocations: 25.7 kB / 410.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.13, allocations: 340.5 kB / 411.3 MB, free: 9.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-06/0.13, allocations: 7.984 kB / 411.3 MB, free: 9.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.1301, allocations: 29.7 kB / 411.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1302, allocations: 366.7 kB / 411.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.1302, allocations: 8 kB / 411.7 MB, free: 8.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.253e-05/0.1303, allocations: 82.28 kB / 411.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006336/0.1366, allocations: 102.1 kB / 411.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1366, allocations: 8 kB / 411.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001711/0.1368, allocations: 121.4 kB / 412 MB, free: 8.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1368, allocations: 11.94 kB / 412 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1368, allocations: 7.938 kB / 412 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1368, allocations: 4 kB / 412 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.1369, allocations: 32.3 kB / 412 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.1369, allocations: 15.98 kB / 412.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.938e-05/0.137, allocations: 11.89 kB / 412.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.137, allocations: 8 kB / 412.1 MB, free: 8.406 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.000105/0.1371, allocations: 193.1 kB / 412.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.1372, allocations: 132.9 kB / 412.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/0.1372, allocations: 148.8 kB / 412.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/0.1373, allocations: 184.2 kB / 412.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/0.1373, allocations: 180.2 kB / 412.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-05/0.1374, allocations: 180.2 kB / 413.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.1376, allocations: 461.2 kB / 413.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/0.1377, allocations: 105 kB / 413.6 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.1377, allocations: 108.9 kB / 413.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-05/0.1377, allocations: 180.3 kB / 413.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.1378, allocations: 184.2 kB / 414.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.79e-05/0.1378, allocations: 176.3 kB / 414.3 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.101e-05/0.1378, allocations: 184.4 kB / 414.4 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.138, allocations: 335.7 kB / 414.8 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.138, allocations: 148.6 kB / 414.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.1381, allocations: 184.2 kB / 415.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1382, allocations: 101 kB / 415.2 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1382, allocations: 192.1 kB / 415.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.1383, allocations: 101 kB / 415.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1384, allocations: 220.6 kB / 415.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1384, allocations: 0 / 415.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007396/0.1458, allocations: 0.7867 MB / 416.5 MB, free: 3.828 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.002/0.1478, allocations: 1.105 MB / 417.6 MB, free: 2.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.865e-05/0.1479, allocations: 52.69 kB / 417.6 MB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.1479, allocations: 8 kB / 417.6 MB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.1479, allocations: 3.938 kB / 417.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/0.1518, allocations: 0.6864 MB / 418.3 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1532, allocations: 0.9499 MB / 419.3 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.369e-05/0.1533, allocations: 117.2 kB / 419.4 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.1535, allocations: 83.17 kB / 419.5 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.1537, allocations: 169.2 kB / 419.6 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of SimCode: time 5.42e-07/0.1537, allocations: 0 / 419.6 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of Templates: time 0.03982/0.1936, allocations: 24.77 MB / 444.4 MB, free: 7.793 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6613722490146756]