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.001365/0.001365, allocations: 78.97 kB / 21.28 MB, free: 380 kB / 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.001501/0.001501, allocations: 162.9 kB / 24.54 MB, free: 3.586 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.401/1.401, allocations: 177.2 MB / 204.9 MB, free: 9.273 MB / 190.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.1409/0.1409, allocations: 19.7 MB / 281 MB, free: 13.05 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.002097/0.002097, allocations: 71.89 kB / 417.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2701, allocations: 60.47 MB / 478.1 MB, free: 15.55 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.1589/0.429, allocations: 99.88 MB / 0.5644 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.4314, allocations: 0.923 MB / 0.5653 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007358/0.4322, allocations: 35.62 kB / 0.5654 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009864/0.4332, allocations: 321.4 kB / 0.5657 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.4343, allocations: 433.1 kB / 0.5661 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.4466, allocations: 4.466 MB / 0.5704 GB, free: 8.117 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.4485, allocations: 1.327 MB / 0.5717 GB, free: 6.781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006739/0.4492, allocations: 371.4 kB / 0.5721 GB, free: 6.406 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.4502, allocations: 0.6774 MB / 0.5728 GB, free: 5.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.4509, allocations: 417.8 kB / 0.5731 GB, free: 5.316 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.451, allocations: 36 kB / 0.5732 GB, free: 5.281 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008211/0.4592, allocations: 4.147 MB / 0.5772 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.4593, allocations: 115.4 kB / 0.5773 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.4597, allocations: 290.5 kB / 0.5776 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005621/0.4653, allocations: 3.074 MB / 0.5806 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4653, allocations: 0 / 0.5806 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4653, allocations: 0 / 0.5806 GB, free: 13.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.4653, allocations: 0 / 0.5806 GB, free: 13.65 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.002073/0.4674, allocations: 1.25 MB / 0.5818 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4674, allocations: 12.03 kB / 0.5819 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.4676, allocations: 96.33 kB / 0.5819 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.4682, allocations: 422 kB / 0.5823 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.4683, allocations: 37.12 kB / 0.5824 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.4683, allocations: 51.98 kB / 0.5824 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.4692, allocations: 0.6081 MB / 0.583 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.4692, allocations: 11.94 kB / 0.583 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.4692, allocations: 20 kB / 0.5831 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.4692, allocations: 16 kB / 0.5831 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.4697, allocations: 255.3 kB / 0.5833 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003687/0.4733, allocations: 4.41 MB / 0.5876 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.424e-05/0.4734, allocations: 169.1 kB / 0.5878 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.4735, allocations: 84.12 kB / 0.5879 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.4735, allocations: 79.28 kB / 0.5879 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.4736, allocations: 105.8 kB / 0.588 GB, free: 5.664 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.4736, allocations: 0 / 0.588 GB, free: 5.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001318/0.4737, allocations: 89.27 kB / 0.5881 GB, free: 5.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4737, allocations: 51.41 kB / 0.5882 GB, free: 5.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/0.4743, allocations: 0.5079 MB / 0.5887 GB, free: 4.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4744, allocations: 25.81 kB / 0.5887 GB, free: 4.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.4747, allocations: 423.4 kB / 0.5891 GB, free: 4.539 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.4747, allocations: 0 / 0.5891 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.4747, allocations: 37.66 kB / 0.5891 GB, free: 4.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4749, allocations: 362.8 kB / 0.5895 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.679e-05/0.4749, allocations: 19.98 kB / 0.5895 GB, free: 4.113 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.475, allocations: 90.3 kB / 0.5896 GB, free: 3.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.4752, allocations: 110.2 kB / 0.5897 GB, free: 3.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4752, allocations: 11.88 kB / 0.5897 GB, free: 3.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003085/0.4755, allocations: 173.1 kB / 0.5899 GB, free: 3.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4755, allocations: 8.375 kB / 0.5899 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4755, allocations: 8 kB / 0.5899 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4755, allocations: 0 / 0.5899 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4756, allocations: 27.92 kB / 0.5899 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4756, allocations: 4 kB / 0.5899 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.4758, allocations: 15.89 kB / 0.5899 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.4758, allocations: 7.984 kB / 0.5899 GB, free: 3.586 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.0001983/0.476, allocations: 237.9 kB / 0.5902 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.4761, allocations: 156.7 kB / 0.5903 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.885e-05/0.4762, allocations: 144.9 kB / 0.5905 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.651e-05/0.4763, allocations: 180.2 kB / 0.5906 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.048e-05/0.4763, allocations: 113 kB / 0.5907 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4764, allocations: 148.5 kB / 0.5909 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.4766, allocations: 180.3 kB / 0.591 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.4767, allocations: 101 kB / 0.5911 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.4768, allocations: 184.3 kB / 0.5913 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001099/0.4769, allocations: 263.5 kB / 0.5916 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002564/0.4772, allocations: 438.7 kB / 0.592 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.57e-05/0.4772, allocations: 108.9 kB / 0.5921 GB, free: 1.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003888/0.4776, allocations: 351.1 kB / 0.5924 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of Backend: time 4.21e-07/0.4776, allocations: 0 / 0.5924 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.481, allocations: 1.026 MB / 0.5934 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002692/0.4837, allocations: 1.904 MB / 0.5953 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.03654/0.5202, allocations: 24.45 MB / 0.6192 GB, free: 5.609 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: 5.557259232969955] Failed to read output from testmodel.py, exit status != 0: 0.5286650790367275 0.5519353610000001 0.082399368 Calling exit ...