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.001341/0.001341, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.0015/0.0015, allocations: 210.1 kB / 24.49 MB, free: 4.145 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.1468/0.1468, allocations: 26.82 MB / 341.5 MB, free: 8.172 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.002099/0.002099, allocations: 75.88 kB / 478.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3144, allocations: 60.48 MB / 0.526 GB, free: 9.742 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.1345/0.4489, allocations: 109 MB / 0.6324 GB, free: 7.902 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.4514, allocations: 0.9347 MB / 0.6333 GB, free: 6.965 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008379/0.4522, allocations: 39.56 kB / 0.6333 GB, free: 6.926 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.4533, allocations: 305.4 kB / 0.6336 GB, free: 6.625 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.4546, allocations: 445 kB / 0.634 GB, free: 6.188 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01526/0.4698, allocations: 4.586 MB / 0.6385 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.4722, allocations: 1.331 MB / 0.6398 GB, free: 252 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008704/0.4731, allocations: 375.4 kB / 0.6402 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009301/0.474, allocations: 474 kB / 0.6406 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.4748, allocations: 437.8 kB / 0.641 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.475, allocations: 36 kB / 0.6411 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.4853, allocations: 4.479 MB / 0.6454 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.4856, allocations: 111.4 kB / 0.6456 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006069/0.4862, allocations: 362 kB / 0.6459 GB, free: 9.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008671/0.4948, allocations: 3.121 MB / 0.6489 GB, free: 6.859 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4948, allocations: 0 / 0.6489 GB, free: 6.859 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4948, allocations: 0 / 0.6489 GB, free: 6.859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.511e-05/0.4949, allocations: 0 / 0.6489 GB, free: 6.859 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.002567/0.4975, allocations: 1.25 MB / 0.6502 GB, free: 5.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4975, allocations: 8.031 kB / 0.6502 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.4977, allocations: 100.3 kB / 0.6503 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000823/0.4985, allocations: 430 kB / 0.6507 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.4986, allocations: 41.12 kB / 0.6507 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.4986, allocations: 48 kB / 0.6508 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.4995, allocations: 0.608 MB / 0.6514 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.4996, allocations: 3.938 kB / 0.6514 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.4996, allocations: 24 kB / 0.6514 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.4996, allocations: 16 kB / 0.6514 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.5001, allocations: 247.4 kB / 0.6516 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004628/0.5047, allocations: 4.658 MB / 0.6562 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5048, allocations: 173.1 kB / 0.6564 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.5048, allocations: 84.14 kB / 0.6564 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.5049, allocations: 79.28 kB / 0.6565 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/0.5049, allocations: 105.8 kB / 0.6566 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.505, allocations: 0 / 0.6566 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0002077/0.5052, allocations: 117.1 kB / 0.6567 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.5052, allocations: 126.7 kB / 0.6568 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.5063, allocations: 0.7802 MB / 0.6576 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.5063, allocations: 25.7 kB / 0.6576 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.5066, allocations: 391.4 kB / 0.658 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.5066, allocations: 0 / 0.658 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.5067, allocations: 41.69 kB / 0.658 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5068, allocations: 313.9 kB / 0.6583 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.08e-05/0.5069, allocations: 15.98 kB / 0.6584 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.507, allocations: 90.3 kB / 0.6584 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.5071, allocations: 110.2 kB / 0.6585 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5071, allocations: 0 / 0.6585 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003959/0.5075, allocations: 212.8 kB / 0.6587 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5075, allocations: 8 kB / 0.6588 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5076, allocations: 0 / 0.6588 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5076, allocations: 4 kB / 0.6588 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.5077, allocations: 24.36 kB / 0.6588 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5077, allocations: 15.88 kB / 0.6588 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.5079, allocations: 55.5 kB / 0.6589 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.5079, allocations: 4 kB / 0.6589 GB, free: 12.16 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.0002125/0.5081, allocations: 233.1 kB / 0.6591 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.5083, allocations: 188.4 kB / 0.6593 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.5085, allocations: 167.6 kB / 0.6594 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.25e-05/0.5085, allocations: 188.2 kB / 0.6596 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.15e-05/0.5086, allocations: 180.3 kB / 0.6598 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.491e-05/0.5087, allocations: 176.3 kB / 0.6599 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.5093, allocations: 0.6212 MB / 0.6605 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.108e-05/0.5094, allocations: 101 kB / 0.6606 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.5094, allocations: 112.8 kB / 0.6607 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.54e-05/0.5095, allocations: 180.3 kB / 0.6609 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.5096, allocations: 180.3 kB / 0.6611 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.122e-05/0.5097, allocations: 184.2 kB / 0.6613 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.015e-05/0.5098, allocations: 180.3 kB / 0.6614 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.5101, allocations: 395.2 kB / 0.6618 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.5103, allocations: 172.5 kB / 0.662 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.5104, allocations: 184.2 kB / 0.6622 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.5107, allocations: 105 kB / 0.6623 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.5107, allocations: 184.2 kB / 0.6624 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.5108, allocations: 105 kB / 0.6625 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007349/0.5115, allocations: 0.5349 MB / 0.6631 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5115, allocations: 0 / 0.6631 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002161/0.5137, allocations: 0.7598 MB / 0.6638 GB, free: 6.883 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.003102/0.5168, allocations: 1.008 MB / 0.6648 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.517, allocations: 48.48 kB / 0.6648 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.517, allocations: 4.062 kB / 0.6648 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.517, allocations: 0 / 0.6648 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.5194, allocations: 0.8874 MB / 0.6657 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5209, allocations: 0.9892 MB / 0.6667 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.5214, allocations: 0.8859 MB / 0.6675 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.5215, allocations: 59.41 kB / 0.6676 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.5215, allocations: 3.938 kB / 0.6676 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.03397/0.5555, allocations: 19.83 MB / 0.687 GB, free: 15.16 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: 9.76115900289733] Failed to read output from testmodel.py, exit status != 0: 0.5649897049879655 0.581380538 0.082904856 Calling exit ...