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.001396/0.001396, allocations: 79.19 kB / 21.28 MB, free: 0.5195 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.001554/0.001554, allocations: 163.8 kB / 24.54 MB, free: 3.812 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.386/1.386, allocations: 177.2 MB / 204.9 MB, free: 9.289 MB / 190.1 MB " [Timeout remaining time 179] 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.1362/0.1362, allocations: 19.71 MB / 281 MB, free: 13.06 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.002093/0.002093, allocations: 75.89 kB / 417.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2602, allocations: 60.44 MB / 478.1 MB, free: 15.54 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.1492/0.4095, allocations: 99.93 MB / 0.5644 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.4117, allocations: 0.9269 MB / 0.5654 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.412, allocations: 43.56 kB / 0.5654 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.4128, allocations: 309.4 kB / 0.5657 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007614/0.4135, allocations: 449 kB / 0.5661 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01177/0.4253, allocations: 4.454 MB / 0.5705 GB, free: 8.055 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.4272, allocations: 1.323 MB / 0.5718 GB, free: 6.723 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/0.4278, allocations: 383.3 kB / 0.5721 GB, free: 6.336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008176/0.4286, allocations: 0.6658 MB / 0.5728 GB, free: 5.668 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.4292, allocations: 417.8 kB / 0.5732 GB, free: 5.258 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.4293, allocations: 36 kB / 0.5732 GB, free: 5.223 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008278/0.4375, allocations: 4.159 MB / 0.5773 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.4377, allocations: 111.4 kB / 0.5774 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.4381, allocations: 290.5 kB / 0.5777 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.444, allocations: 3.074 MB / 0.5807 GB, free: 13.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.444, allocations: 0 / 0.5807 GB, free: 13.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.444, allocations: 0 / 0.5807 GB, free: 13.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.444, allocations: 0 / 0.5807 GB, free: 13.58 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.001882/0.4459, allocations: 1.25 MB / 0.5819 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4459, allocations: 8.031 kB / 0.5819 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.4461, allocations: 104.3 kB / 0.582 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.4467, allocations: 414.1 kB / 0.5824 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.4468, allocations: 41.12 kB / 0.5824 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.4468, allocations: 48 kB / 0.5825 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.4476, allocations: 0.608 MB / 0.5831 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.4477, allocations: 3.938 kB / 0.5831 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.4477, allocations: 24 kB / 0.5831 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.4477, allocations: 16 kB / 0.5831 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.4481, allocations: 251.4 kB / 0.5833 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.4519, allocations: 4.414 MB / 0.5876 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.452, allocations: 165.1 kB / 0.5878 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.452, allocations: 88.14 kB / 0.5879 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.4521, allocations: 75.28 kB / 0.588 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.4521, allocations: 113.8 kB / 0.5881 GB, free: 5.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4521, allocations: 0 / 0.5881 GB, free: 5.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001277/0.4523, allocations: 89.53 kB / 0.5882 GB, free: 5.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.4523, allocations: 126.7 kB / 0.5883 GB, free: 5.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005776/0.4529, allocations: 0.5079 MB / 0.5888 GB, free: 4.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.4529, allocations: 25.7 kB / 0.5888 GB, free: 4.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.4533, allocations: 415.5 kB / 0.5892 GB, free: 4.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.4533, allocations: 0 / 0.5892 GB, free: 4.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.4533, allocations: 41.64 kB / 0.5892 GB, free: 4.363 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4535, allocations: 362.8 kB / 0.5896 GB, free: 4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-05/0.4535, allocations: 12 kB / 0.5896 GB, free: 3.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.51e-05/0.4536, allocations: 90.23 kB / 0.5897 GB, free: 3.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.4538, allocations: 122.1 kB / 0.5898 GB, free: 3.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4538, allocations: 4 kB / 0.5898 GB, free: 3.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003102/0.4541, allocations: 169.4 kB / 0.59 GB, free: 3.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4541, allocations: 12.06 kB / 0.59 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4541, allocations: 0 / 0.59 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4541, allocations: 4 kB / 0.59 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.877e-05/0.4542, allocations: 27.92 kB / 0.59 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4542, allocations: 4 kB / 0.59 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4544, allocations: 19.83 kB / 0.59 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.4544, allocations: 8 kB / 0.59 GB, free: 3.457 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.0002077/0.4546, allocations: 244.9 kB / 0.5903 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.4547, allocations: 152.7 kB / 0.5904 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.4548, allocations: 152.8 kB / 0.5906 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.039e-05/0.4549, allocations: 180.3 kB / 0.5907 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.313e-05/0.455, allocations: 180.2 kB / 0.5909 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-05/0.4551, allocations: 184.2 kB / 0.5911 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.4555, allocations: 0.5514 MB / 0.5916 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.859e-05/0.4556, allocations: 116.9 kB / 0.5917 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.4556, allocations: 105.1 kB / 0.5918 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.404e-05/0.4557, allocations: 184.2 kB / 0.592 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-05/0.4558, allocations: 184.3 kB / 0.5922 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.229e-05/0.4559, allocations: 176.3 kB / 0.5923 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.208e-05/0.456, allocations: 180.2 kB / 0.5925 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.4562, allocations: 379.3 kB / 0.5929 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.957e-05/0.4563, allocations: 140.7 kB / 0.593 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.4564, allocations: 180.2 kB / 0.5932 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.4566, allocations: 108.9 kB / 0.5933 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.4567, allocations: 180.3 kB / 0.5935 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.4567, allocations: 104.9 kB / 0.5936 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003777/0.4571, allocations: 347.1 kB / 0.5939 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4571, allocations: 0 / 0.5939 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001854/0.4589, allocations: 0.7946 MB / 0.5947 GB, free: 14.52 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.002282/0.4612, allocations: 1.008 MB / 0.5957 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.4614, allocations: 43.86 kB / 0.5957 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4614, allocations: 0 / 0.5957 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.4614, allocations: 0 / 0.5957 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.4627, allocations: 0.6895 MB / 0.5964 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4641, allocations: 0.9773 MB / 0.5973 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.4643, allocations: 284.5 kB / 0.5976 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.33e-05/0.4644, allocations: 40.48 kB / 0.5976 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.4644, allocations: 0 / 0.5976 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.02627/0.4907, allocations: 17.81 MB / 0.615 GB, free: 9.641 MB / 0.5137 GB " [Timeout remaining time 660] 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.848969114013016] Failed to read output from testmodel.py, exit status != 0: 0.49967418098822236 0.514312159 0.067132499 Calling exit ...