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.001311/0.001311, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001268/0.001268, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.8998/0.8998, allocations: 177.1 MB / 206 MB, free: 4.488 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.09524/0.09524, allocations: 19.74 MB / 282.3 MB, free: 12.25 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.172e-06/1.172e-06, allocations: 0 / 359.2 MB, free: 44.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.298e-06/1.047e-05, allocations: 5 kB / 359.2 MB, free: 44.13 MB / 314.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.04499/0.045, allocations: 74.59 MB / 433.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.04676, allocations: 0.9308 MB / 434.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.04702, allocations: 35.56 kB / 434.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.04759, allocations: 301.4 kB / 435.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.04814, allocations: 456.5 kB / 435.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007405/0.05555, allocations: 4.549 MB / 440.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009352/0.05648, allocations: 1.369 MB / 441.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.05687, allocations: 395.5 kB / 441.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.05732, allocations: 0.6311 MB / 442.4 MB, free: 9.719 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.05763, allocations: 358.8 kB / 442.8 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.05767, allocations: 36 kB / 442.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004272/0.06194, allocations: 4.162 MB / 447 MB, free: 5.164 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.06201, allocations: 115.3 kB / 447.1 MB, free: 5.051 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.06216, allocations: 231.4 kB / 447.3 MB, free: 4.824 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.06496, allocations: 3.507 MB / 450.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.06497, allocations: 0 / 450.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.06497, allocations: 0 / 450.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.06497, allocations: 0 / 450.8 MB, free: 1.309 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.001146/0.06612, allocations: 1.361 MB / 452.2 MB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.06615, allocations: 8.031 kB / 452.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.06625, allocations: 132.3 kB / 452.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.06666, allocations: 460 kB / 452.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.06668, allocations: 37.38 kB / 452.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.06671, allocations: 52.36 kB / 452.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.06712, allocations: 0.6232 MB / 453.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.06713, allocations: 0 / 453.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.06715, allocations: 24 kB / 453.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.06717, allocations: 16 kB / 453.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.06731, allocations: 171.3 kB / 453.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.06965, allocations: 6.145 MB / 459.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.74e-05/0.06973, allocations: 265.4 kB / 460.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.06976, allocations: 126.9 kB / 460.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.06978, allocations: 123.2 kB / 460.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.06983, allocations: 160.5 kB / 460.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.06983, allocations: 4.219 kB / 460.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.935e-05/0.06991, allocations: 81.33 kB / 460.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.06997, allocations: 186.5 kB / 460.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.07028, allocations: 0.5187 MB / 461.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.07029, allocations: 25.7 kB / 461.3 MB, free: 6.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.07056, allocations: 470.1 kB / 461.8 MB, free: 5.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.07056, allocations: 4 kB / 461.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.07062, allocations: 43.31 kB / 461.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.07078, allocations: 0.5351 MB / 462.4 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.07079, allocations: 8 kB / 462.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.07087, allocations: 116.2 kB / 462.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.07098, allocations: 148.1 kB / 462.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.07098, allocations: 4 kB / 462.6 MB, free: 4.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002257/0.07121, allocations: 157.1 kB / 462.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.07122, allocations: 15.92 kB / 462.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.07123, allocations: 4 kB / 462.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.07124, allocations: 4.375 kB / 462.8 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.07132, allocations: 31.92 kB / 462.8 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.07132, allocations: 0 / 462.8 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.07144, allocations: 19.88 kB / 462.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.07145, allocations: 4 kB / 462.9 MB, free: 4.621 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.0001337/0.07158, allocations: 283.7 kB / 463.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.07168, allocations: 204.5 kB / 463.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.63e-05/0.07176, allocations: 196.2 kB / 463.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.264e-05/0.07183, allocations: 268 kB / 463.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.297e-05/0.07189, allocations: 268.1 kB / 464 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.376e-05/0.07195, allocations: 268 kB / 464.3 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.0723, allocations: 0.6096 MB / 464.9 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/0.07233, allocations: 156.8 kB / 465.1 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.07237, allocations: 148.9 kB / 465.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.719e-05/0.07244, allocations: 264.1 kB / 465.5 MB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.008e-05/0.07251, allocations: 272 kB / 465.7 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-05/0.07257, allocations: 268 kB / 466 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.397e-05/0.07264, allocations: 268 kB / 466.3 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.07281, allocations: 0.496 MB / 466.8 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.07289, allocations: 192.5 kB / 466.9 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.07299, allocations: 264.1 kB / 467.2 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.07313, allocations: 160.8 kB / 467.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.0732, allocations: 272.1 kB / 467.6 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.07324, allocations: 144.9 kB / 467.8 MB, free: 15.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.07347, allocations: 330.9 kB / 468.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07347, allocations: 0 / 468.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001252/0.07472, allocations: 0.8022 MB / 468.9 MB, free: 14.39 MB / 394.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.002008/0.07673, allocations: 1.148 MB / 470 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.07682, allocations: 43.83 kB / 470.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.07682, allocations: 0 / 470.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.07682, allocations: 3.938 kB / 470.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.0779, allocations: 0.9436 MB / 471 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.07908, allocations: 0.9757 MB / 472 MB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.698e-05/0.07916, allocations: 117.2 kB / 472.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.07934, allocations: 91.16 kB / 472.2 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.0796, allocations: 202.1 kB / 472.4 MB, free: 10.8 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0796, allocations: 0 / 472.4 MB, free: 10.8 MB / 394.7 MB Notification: Performance of Templates: time 0.03044/0.11, allocations: 25.4 MB / 497.8 MB, free: 1.547 MB / 410.7 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.900931178126484]