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.001479/0.001479, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002131/0.002131, allocations: 212.1 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.739/1.739, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.2503/0.2503, allocations: 26.82 MB / 340.7 MB, free: 8.199 MB / 270.1 MB " [Timeout remaining time 179] 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.001821/0.001821, allocations: 71.88 kB / 477.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6148/0.6166, allocations: 60.48 MB / 0.5252 GB, free: 9.738 MB / 382.1 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.2039/0.8205, allocations: 108.9 MB / 0.6316 GB, free: 8.004 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.8243, allocations: 0.9347 MB / 0.6325 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.8248, allocations: 39.56 kB / 0.6325 GB, free: 7.027 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.8258, allocations: 305.5 kB / 0.6328 GB, free: 6.727 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008556/0.8266, allocations: 441 kB / 0.6332 GB, free: 6.293 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02675/0.8534, allocations: 4.606 MB / 0.6377 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.8558, allocations: 1.323 MB / 0.639 GB, free: 348 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006702/0.8565, allocations: 383.3 kB / 0.6394 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000632/0.8571, allocations: 466.1 kB / 0.6398 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.8577, allocations: 437.8 kB / 0.6402 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.8578, allocations: 36 kB / 0.6403 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/0.875, allocations: 4.479 MB / 0.6447 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.8752, allocations: 111.4 kB / 0.6448 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000657/0.8759, allocations: 369.9 kB / 0.6451 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007382/0.8833, allocations: 3.113 MB / 0.6482 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.8833, allocations: 0 / 0.6482 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.8833, allocations: 0 / 0.6482 GB, free: 6.953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.303e-05/0.8833, allocations: 4 kB / 0.6482 GB, free: 6.949 MB / 494.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.00328/0.8866, allocations: 1.254 MB / 0.6494 GB, free: 5.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.8866, allocations: 8.031 kB / 0.6494 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.8869, allocations: 100.3 kB / 0.6495 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009266/0.8878, allocations: 422.1 kB / 0.6499 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006028/0.8938, allocations: 41.12 kB / 0.6499 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.8939, allocations: 48 kB / 0.65 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.8948, allocations: 0.608 MB / 0.6506 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.8949, allocations: 3.938 kB / 0.6506 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.8949, allocations: 20 kB / 0.6506 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.8949, allocations: 19.98 kB / 0.6506 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.8954, allocations: 251.4 kB / 0.6508 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/0.9002, allocations: 4.654 MB / 0.6554 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.9004, allocations: 177.1 kB / 0.6556 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.9004, allocations: 80.14 kB / 0.6556 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.9005, allocations: 79.28 kB / 0.6557 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/0.9005, allocations: 105.8 kB / 0.6558 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.9005, allocations: 0 / 0.6558 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0002122/0.9007, allocations: 113.1 kB / 0.6559 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.9008, allocations: 126.7 kB / 0.656 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/0.9017, allocations: 0.7725 MB / 0.6568 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.9018, allocations: 33.64 kB / 0.6568 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.9021, allocations: 399.3 kB / 0.6572 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-06/0.9021, allocations: 8 kB / 0.6572 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.9022, allocations: 33.7 kB / 0.6572 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9023, allocations: 309.9 kB / 0.6575 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/0.9024, allocations: 15.98 kB / 0.6576 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.9025, allocations: 90.3 kB / 0.6576 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.9026, allocations: 110.1 kB / 0.6578 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9026, allocations: 4 kB / 0.6578 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003403/0.903, allocations: 204.9 kB / 0.6579 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.903, allocations: 8 kB / 0.658 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.903, allocations: 4 kB / 0.658 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.903, allocations: 0 / 0.658 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.9031, allocations: 24.36 kB / 0.658 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.9031, allocations: 15.92 kB / 0.658 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.9033, allocations: 59.39 kB / 0.6581 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.9034, allocations: 8 kB / 0.6581 GB, free: 12.25 MB / 0.4981 GB 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.0002279/0.9036, allocations: 233.1 kB / 0.6583 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.9037, allocations: 192.4 kB / 0.6585 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.9039, allocations: 167.6 kB / 0.6586 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.29e-05/0.904, allocations: 184.3 kB / 0.6588 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-05/0.9041, allocations: 184.2 kB / 0.659 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.831e-05/0.9041, allocations: 176.3 kB / 0.6591 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.9047, allocations: 0.6212 MB / 0.6598 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-05/0.9048, allocations: 105 kB / 0.6599 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.9048, allocations: 104.9 kB / 0.66 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.518e-05/0.9049, allocations: 184.3 kB / 0.6601 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/0.905, allocations: 180.3 kB / 0.6603 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-05/0.9051, allocations: 180.2 kB / 0.6605 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-05/0.9052, allocations: 180.2 kB / 0.6606 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.9054, allocations: 395.3 kB / 0.661 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.9056, allocations: 168.5 kB / 0.6612 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.9058, allocations: 184.2 kB / 0.6614 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.906, allocations: 109 kB / 0.6615 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.9061, allocations: 184.2 kB / 0.6616 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.9061, allocations: 101 kB / 0.6617 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006542/0.9068, allocations: 0.5349 MB / 0.6623 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9068, allocations: 0 / 0.6623 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002339/0.9091, allocations: 0.7637 MB / 0.663 GB, free: 6.973 MB / 0.4981 GB 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.00295/0.912, allocations: 1 MB / 0.664 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.9122, allocations: 52.3 kB / 0.664 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9122, allocations: 3.938 kB / 0.664 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.9122, allocations: 0 / 0.664 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.9144, allocations: 0.8915 MB / 0.6649 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.9158, allocations: 0.9602 MB / 0.6658 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.9164, allocations: 0.8859 MB / 0.6667 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002911/0.9167, allocations: 121.6 kB / 0.6668 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.9168, allocations: 51.42 kB / 0.6669 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.9168, allocations: 0 / 0.6669 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.0523/0.9691, allocations: 26.67 MB / 0.6929 GB, free: 8.352 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.271192900836468] Failed to read output from testmodel.py, exit status != 0: 0.980541018769145 1.004798823 0.11819575299999995 Calling exit ...