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.001409/0.001409, allocations: 92.31 kB / 20.96 MB, free: 3.48 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.001498/0.001498, allocations: 165.6 kB / 24.26 MB, free: 180 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.503/1.503, allocations: 158.6 MB / 186.1 MB, free: 2.895 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.3317/0.3317, allocations: 36.34 MB / 274.7 MB, free: 10.72 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.024e-06/2.024e-06, allocations: 0 / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.927e-05, allocations: 2.312 kB / 353.1 MB, free: 3.781 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.4414/0.4414, allocations: 99.77 MB / 452.8 MB, free: 14.38 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.4439, allocations: 0.9271 MB / 453.8 MB, free: 14.35 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.4443, allocations: 34.56 kB / 453.8 MB, free: 14.35 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008687/0.4451, allocations: 315.1 kB / 454.1 MB, free: 14.35 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008781/0.446, allocations: 462.2 kB / 454.6 MB, free: 14.33 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01225/0.4583, allocations: 4.524 MB / 459.1 MB, free: 13.85 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.4607, allocations: 1.386 MB / 460.5 MB, free: 13.44 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006118/0.4614, allocations: 388.6 kB / 460.8 MB, free: 13.4 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.4622, allocations: 0.6372 MB / 461.5 MB, free: 13.33 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.4626, allocations: 352.4 kB / 461.8 MB, free: 13.28 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.4627, allocations: 35.69 kB / 461.9 MB, free: 13.28 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009094/0.4718, allocations: 4.159 MB / 466 MB, free: 13.16 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.472, allocations: 116.2 kB / 466.1 MB, free: 13.12 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.4724, allocations: 228.8 kB / 466.4 MB, free: 13.09 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008466/0.4808, allocations: 3.63 MB / 470 MB, free: 12.86 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4808, allocations: 4 kB / 470 MB, free: 12.86 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4808, allocations: 0 / 470 MB, free: 12.86 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.4809, allocations: 0 / 470 MB, free: 12.86 MB / 362.8 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.002433/0.4833, allocations: 1.238 MB / 471.2 MB, free: 12.13 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4833, allocations: 11.38 kB / 471.2 MB, free: 12.13 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.4835, allocations: 130.7 kB / 471.4 MB, free: 12.08 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.4841, allocations: 451 kB / 471.8 MB, free: 11.85 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.4841, allocations: 37 kB / 471.8 MB, free: 11.85 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.4842, allocations: 47.47 kB / 471.9 MB, free: 11.85 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.4848, allocations: 0.6116 MB / 472.5 MB, free: 11.49 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4848, allocations: 6.656 kB / 472.5 MB, free: 11.49 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.4849, allocations: 25.98 kB / 472.5 MB, free: 11.49 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.4849, allocations: 13.97 kB / 472.5 MB, free: 11.49 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.4852, allocations: 251.3 kB / 472.8 MB, free: 11.45 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.4877, allocations: 4.425 MB / 477.2 MB, free: 7.453 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.702e-05/0.4877, allocations: 172.4 kB / 477.4 MB, free: 7.277 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.4877, allocations: 83.23 kB / 477.5 MB, free: 7.195 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.4877, allocations: 75.28 kB / 477.5 MB, free: 7.121 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4878, allocations: 109.8 kB / 477.7 MB, free: 7.004 MB / 362.8 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4878, allocations: 0 / 477.7 MB, free: 7.004 MB / 362.8 MB Notification: Performance of matching and sorting (n=0): time 0.0001132/0.4879, allocations: 85.31 kB / 477.7 MB, free: 6.914 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.4879, allocations: 126.7 kB / 477.9 MB, free: 6.777 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.4884, allocations: 0.5102 MB / 478.4 MB, free: 6.441 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.4884, allocations: 25.7 kB / 478.4 MB, free: 6.41 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.4886, allocations: 413.1 kB / 478.8 MB, free: 6.168 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-06/0.4886, allocations: 4.438 kB / 478.8 MB, free: 6.168 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.4886, allocations: 37.62 kB / 478.8 MB, free: 6.137 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.4887, allocations: 359.2 kB / 479.2 MB, free: 5.812 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.4887, allocations: 17.02 kB / 479.2 MB, free: 5.805 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.4888, allocations: 101 kB / 479.3 MB, free: 5.684 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.576e-05/0.4889, allocations: 108.7 kB / 479.4 MB, free: 5.555 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4889, allocations: 0 / 479.4 MB, free: 5.555 MB / 362.8 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002742/0.4892, allocations: 188.5 kB / 479.6 MB, free: 5.383 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4892, allocations: 8 kB / 479.6 MB, free: 5.375 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4892, allocations: 0 / 479.6 MB, free: 5.375 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.4892, allocations: 4 kB / 479.6 MB, free: 5.371 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4893, allocations: 27.92 kB / 479.6 MB, free: 5.344 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4893, allocations: 4 kB / 479.6 MB, free: 5.34 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4895, allocations: 16.2 kB / 479.7 MB, free: 5.324 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.4895, allocations: 19.55 kB / 479.7 MB, free: 5.309 MB / 362.8 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.0001481/0.4896, allocations: 232.6 kB / 479.9 MB, free: 5.094 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.4897, allocations: 164.5 kB / 480.1 MB, free: 4.926 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.4898, allocations: 150.9 kB / 480.2 MB, free: 4.785 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/0.4898, allocations: 176.3 kB / 480.4 MB, free: 4.605 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/0.4898, allocations: 189.9 kB / 480.6 MB, free: 4.414 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/0.4899, allocations: 180.3 kB / 480.7 MB, free: 4.23 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.4902, allocations: 0.5584 MB / 481.3 MB, free: 3.707 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.4902, allocations: 101 kB / 481.4 MB, free: 3.602 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-05/0.4902, allocations: 105 kB / 481.5 MB, free: 3.492 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.369e-05/0.4902, allocations: 187.5 kB / 481.7 MB, free: 3.305 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.4903, allocations: 182.6 kB / 481.9 MB, free: 3.121 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.193e-05/0.4903, allocations: 184.2 kB / 482 MB, free: 2.934 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-05/0.4903, allocations: 180.2 kB / 482.2 MB, free: 2.75 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.4904, allocations: 359.4 kB / 482.6 MB, free: 2.379 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.4905, allocations: 140.7 kB / 482.7 MB, free: 2.234 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.4906, allocations: 188.1 kB / 482.9 MB, free: 2.043 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4907, allocations: 101 kB / 483 MB, free: 1.938 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.4907, allocations: 180.3 kB / 483.2 MB, free: 1.754 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.4907, allocations: 104.9 kB / 483.3 MB, free: 1.645 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002623/0.491, allocations: 352.3 kB / 483.6 MB, free: 1.379 MB / 362.8 MB Notification: Performance of sort global known variables: time 7e-08/0.491, allocations: 0 / 483.6 MB, free: 1.379 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.002272/0.4933, allocations: 0.7935 MB / 484.4 MB, free: 0.625 MB / 362.8 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.003003/0.4963, allocations: 1.076 MB / 485.5 MB, free: 15.63 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.4964, allocations: 43.55 kB / 485.5 MB, free: 15.59 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4964, allocations: 0 / 485.5 MB, free: 15.59 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.4964, allocations: 4.062 kB / 485.5 MB, free: 15.59 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.4981, allocations: 0.6863 MB / 486.2 MB, free: 14.93 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4997, allocations: 0.9418 MB / 487.2 MB, free: 13.99 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.5001, allocations: 284.5 kB / 487.4 MB, free: 13.7 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0002467/0.5003, allocations: 83.19 kB / 487.5 MB, free: 13.61 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.5004, allocations: 36.48 kB / 487.5 MB, free: 13.58 MB / 378.8 MB Notification: Performance of SimCode: time 6.31e-07/0.5004, allocations: 0 / 487.5 MB, free: 13.58 MB / 378.8 MB Notification: Performance of Templates: time 0.03943/0.5398, allocations: 22.31 MB / 0.4979 GB, free: 7.367 MB / 394.8 MB " [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: 6.108141716104001]