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.00144/0.00144, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.00156/0.00156, allocations: 211.8 kB / 23.73 MB, free: 4.391 MB / 14.72 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.499/1.499, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 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.3138/0.3138, allocations: 49.6 MB / 336.4 MB, free: 3.871 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 71.91 kB / 476.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1255, allocations: 62.42 MB / 0.5266 GB, free: 13.62 MB / 414.1 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.4057/0.5313, allocations: 99.98 MB / 0.6243 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.5345, allocations: 0.923 MB / 0.6252 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006522/0.5352, allocations: 39.56 kB / 0.6252 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.5362, allocations: 313.4 kB / 0.6255 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.5374, allocations: 441 kB / 0.6259 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01586/0.5533, allocations: 4.458 MB / 0.6303 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.5557, allocations: 1.323 MB / 0.6316 GB, free: 9.316 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006537/0.5563, allocations: 363.4 kB / 0.6319 GB, free: 8.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007134/0.557, allocations: 478 kB / 0.6324 GB, free: 8.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.5576, allocations: 413.8 kB / 0.6328 GB, free: 8.074 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.5577, allocations: 40 kB / 0.6328 GB, free: 8.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.5688, allocations: 4.143 MB / 0.6369 GB, free: 3.887 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.569, allocations: 115.4 kB / 0.637 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.5696, allocations: 286.5 kB / 0.6372 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008118/0.5777, allocations: 3.062 MB / 0.6402 GB, free: 432 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5777, allocations: 0 / 0.6402 GB, free: 432 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5777, allocations: 0 / 0.6402 GB, free: 432 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.5777, allocations: 3.938 kB / 0.6402 GB, free: 428 kB / 478.1 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.002294/0.58, allocations: 1.246 MB / 0.6415 GB, free: 15.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.58, allocations: 12.03 kB / 0.6415 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.5802, allocations: 92.38 kB / 0.6416 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.5809, allocations: 426 kB / 0.642 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.5809, allocations: 45.31 kB / 0.642 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.581, allocations: 51.94 kB / 0.6421 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008661/0.5819, allocations: 0.6044 MB / 0.6426 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.5819, allocations: 7.938 kB / 0.6427 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.5819, allocations: 23.94 kB / 0.6427 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.5819, allocations: 16 kB / 0.6427 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.5823, allocations: 255.3 kB / 0.6429 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003827/0.5862, allocations: 4.406 MB / 0.6472 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.5863, allocations: 177.1 kB / 0.6474 GB, free: 8.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.5863, allocations: 80.14 kB / 0.6475 GB, free: 8.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.5864, allocations: 75.28 kB / 0.6476 GB, free: 8.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/0.5864, allocations: 105.8 kB / 0.6477 GB, free: 8.438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.5864, allocations: 0 / 0.6477 GB, free: 8.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.000144/0.5866, allocations: 93.3 kB / 0.6477 GB, free: 8.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.5866, allocations: 126.7 kB / 0.6479 GB, free: 8.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005859/0.5872, allocations: 0.5079 MB / 0.6484 GB, free: 7.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.5872, allocations: 25.7 kB / 0.6484 GB, free: 7.656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.5876, allocations: 423.4 kB / 0.6488 GB, free: 7.238 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/0.5876, allocations: 0 / 0.6488 GB, free: 7.238 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.5876, allocations: 33.7 kB / 0.6488 GB, free: 7.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.5878, allocations: 362.8 kB / 0.6492 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.5879, allocations: 15.98 kB / 0.6492 GB, free: 6.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.588, allocations: 94.27 kB / 0.6493 GB, free: 6.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.5881, allocations: 118.1 kB / 0.6494 GB, free: 6.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5881, allocations: 3.938 kB / 0.6494 GB, free: 6.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003271/0.5884, allocations: 177 kB / 0.6496 GB, free: 6.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5885, allocations: 8 kB / 0.6496 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5885, allocations: 4 kB / 0.6496 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5885, allocations: 4 kB / 0.6496 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5886, allocations: 28.3 kB / 0.6496 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5886, allocations: 8 kB / 0.6496 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.5887, allocations: 15.89 kB / 0.6496 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.5888, allocations: 4 kB / 0.6496 GB, free: 6.285 MB / 494.1 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.0002326/0.589, allocations: 237 kB / 0.6499 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.5891, allocations: 160.6 kB / 0.65 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.5892, allocations: 144.9 kB / 0.6501 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-05/0.5893, allocations: 180.2 kB / 0.6503 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.68e-05/0.5894, allocations: 184.2 kB / 0.6505 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.113e-05/0.5895, allocations: 184.2 kB / 0.6507 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.5899, allocations: 0.5514 MB / 0.6512 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-05/0.59, allocations: 113 kB / 0.6513 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.59, allocations: 104.9 kB / 0.6514 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.553e-05/0.5901, allocations: 180.2 kB / 0.6516 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-05/0.5902, allocations: 184.4 kB / 0.6518 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.8e-05/0.5903, allocations: 180.3 kB / 0.6519 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.012e-05/0.5904, allocations: 184.2 kB / 0.6521 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.5906, allocations: 363.4 kB / 0.6525 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.5907, allocations: 144.6 kB / 0.6526 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.5908, allocations: 180.3 kB / 0.6528 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.591, allocations: 108.9 kB / 0.6529 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.5911, allocations: 184.2 kB / 0.653 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.5911, allocations: 105 kB / 0.6531 GB, free: 2.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003918/0.5915, allocations: 351.1 kB / 0.6535 GB, free: 2.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5915, allocations: 0 / 0.6535 GB, free: 2.156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00203/0.5935, allocations: 0.7867 MB / 0.6543 GB, free: 1.363 MB / 494.1 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.002532/0.596, allocations: 1 MB / 0.6552 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.5962, allocations: 44.53 kB / 0.6553 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5962, allocations: 0 / 0.6553 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.5962, allocations: 7.938 kB / 0.6553 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.5977, allocations: 0.6741 MB / 0.6559 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.5991, allocations: 0.9367 MB / 0.6569 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.5994, allocations: 280.5 kB / 0.6571 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.5996, allocations: 91.16 kB / 0.6572 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.5997, allocations: 35.38 kB / 0.6572 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.5997, allocations: 0 / 0.6572 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.03528/0.635, allocations: 23.15 MB / 0.6798 GB, free: 7.035 MB / 0.5137 GB " [Timeout remaining time 659] 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.987014988437295] Failed to read output from testmodel.py, exit status != 0: 0.6437311228364706 0.658283264 0.077359599 Calling exit ...