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.001578/0.001578, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001847/0.001847, allocations: 209.1 kB / 24.48 MB, free: 3.938 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.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.1674/0.1674, allocations: 26.84 MB / 341.5 MB, free: 7.949 MB / 270.1 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: 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.002281/0.002281, allocations: 71.88 kB / 478 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2897, allocations: 60.49 MB / 0.5259 GB, free: 9.695 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.1565/0.4462, allocations: 100.3 MB / 0.6238 GB, free: 376 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.4485, allocations: 0.9348 MB / 0.6247 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007484/0.4493, allocations: 35.62 kB / 0.6248 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.4503, allocations: 309.4 kB / 0.6251 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.4515, allocations: 441.1 kB / 0.6255 GB, free: 14.65 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0134/0.4649, allocations: 4.461 MB / 0.6299 GB, free: 10.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.4671, allocations: 1.323 MB / 0.6311 GB, free: 8.852 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008544/0.4679, allocations: 383.3 kB / 0.6315 GB, free: 8.465 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008576/0.4688, allocations: 474 kB / 0.632 GB, free: 8 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007665/0.4695, allocations: 421.8 kB / 0.6324 GB, free: 7.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.4697, allocations: 36 kB / 0.6324 GB, free: 7.551 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009441/0.4791, allocations: 4.151 MB / 0.6365 GB, free: 3.395 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.4793, allocations: 115.4 kB / 0.6366 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.4798, allocations: 286.5 kB / 0.6368 GB, free: 3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007447/0.4873, allocations: 3.07 MB / 0.6398 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4873, allocations: 0 / 0.6398 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4873, allocations: 0 / 0.6398 GB, free: 15.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.4873, allocations: 4 kB / 0.6398 GB, free: 15.91 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.002384/0.4897, allocations: 1.254 MB / 0.6411 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4897, allocations: 12.03 kB / 0.6411 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.4899, allocations: 100.3 kB / 0.6412 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/0.4907, allocations: 414.1 kB / 0.6416 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.4907, allocations: 45.12 kB / 0.6416 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.4908, allocations: 48 kB / 0.6417 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/0.4917, allocations: 0.6042 MB / 0.6422 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.4917, allocations: 11.88 kB / 0.6423 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.4918, allocations: 24 kB / 0.6423 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.4918, allocations: 19.98 kB / 0.6423 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.4923, allocations: 259.3 kB / 0.6425 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.4965, allocations: 4.406 MB / 0.6468 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4966, allocations: 173.1 kB / 0.647 GB, free: 8.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.4966, allocations: 84.14 kB / 0.6471 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.4966, allocations: 75.28 kB / 0.6472 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/0.4967, allocations: 105.8 kB / 0.6473 GB, free: 7.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.084e-06/0.4967, allocations: 0 / 0.6473 GB, free: 7.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001778/0.4969, allocations: 93.25 kB / 0.6474 GB, free: 7.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.497, allocations: 126.7 kB / 0.6475 GB, free: 7.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006457/0.4976, allocations: 0.5041 MB / 0.648 GB, free: 7.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4976, allocations: 25.7 kB / 0.648 GB, free: 7.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.498, allocations: 415.5 kB / 0.6484 GB, free: 6.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.498, allocations: 4 kB / 0.6484 GB, free: 6.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.498, allocations: 41.64 kB / 0.6484 GB, free: 6.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4982, allocations: 362.8 kB / 0.6488 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.4983, allocations: 12 kB / 0.6488 GB, free: 6.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.4984, allocations: 94.23 kB / 0.6489 GB, free: 6.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.4985, allocations: 122 kB / 0.649 GB, free: 6.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4985, allocations: 4 kB / 0.649 GB, free: 6.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003373/0.4988, allocations: 173.3 kB / 0.6492 GB, free: 5.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4989, allocations: 11.12 kB / 0.6492 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4989, allocations: 4 kB / 0.6492 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4989, allocations: 0 / 0.6492 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.499, allocations: 31.92 kB / 0.6492 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.499, allocations: 4 kB / 0.6492 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.4992, allocations: 15.89 kB / 0.6492 GB, free: 5.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.4992, allocations: 4 kB / 0.6492 GB, free: 5.777 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.0002387/0.4994, allocations: 244.9 kB / 0.6495 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.4996, allocations: 160.8 kB / 0.6496 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.4997, allocations: 148.8 kB / 0.6498 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-05/0.4998, allocations: 176.3 kB / 0.6499 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.412e-05/0.4998, allocations: 180.3 kB / 0.6501 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.705e-05/0.4999, allocations: 188.2 kB / 0.6503 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.5004, allocations: 0.5514 MB / 0.6508 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-05/0.5005, allocations: 112.9 kB / 0.6509 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.5005, allocations: 101 kB / 0.651 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.514e-05/0.5006, allocations: 176.4 kB / 0.6512 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.5007, allocations: 184.2 kB / 0.6514 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.788e-05/0.5008, allocations: 180.3 kB / 0.6515 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.573e-05/0.5009, allocations: 184.2 kB / 0.6517 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.5011, allocations: 367.4 kB / 0.6521 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.5012, allocations: 148.6 kB / 0.6522 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.5014, allocations: 180.3 kB / 0.6524 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.5016, allocations: 112.9 kB / 0.6525 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.5016, allocations: 180.3 kB / 0.6527 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.5017, allocations: 101 kB / 0.6528 GB, free: 1.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004078/0.5021, allocations: 347.1 kB / 0.6531 GB, free: 1.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5021, allocations: 4 kB / 0.6531 GB, free: 1.641 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001949/0.504, allocations: 0.7945 MB / 0.6539 GB, free: 0.8438 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.002946/0.507, allocations: 1.008 MB / 0.6549 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.5072, allocations: 39.92 kB / 0.6549 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5072, allocations: 0 / 0.6549 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.25e-05/0.5072, allocations: 3.938 kB / 0.6549 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.5088, allocations: 0.697 MB / 0.6556 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.5103, allocations: 0.962 MB / 0.6565 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.5106, allocations: 288.4 kB / 0.6568 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.5107, allocations: 43.36 kB / 0.6568 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.5107, allocations: 0 / 0.6568 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.02901/0.5397, allocations: 17.8 MB / 0.6742 GB, free: 11.99 MB / 0.5137 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: 8.917074574972503] Failed to read output from testmodel.py, exit status != 0: 0.5491435659350827 0.56478655 0.07404936100000001 Calling exit ...