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.00176/0.00176, allocations: 77.31 kB / 21.27 MB, free: 0.5352 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.002097/0.002097, allocations: 161.8 kB / 24.53 MB, free: 3.84 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.421/1.421, allocations: 177.2 MB / 204.9 MB, free: 9.285 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.1374/0.1374, allocations: 19.71 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.002102/0.002102, allocations: 75.83 kB / 417.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2604, allocations: 60.45 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.1512/0.4116, allocations: 99.88 MB / 0.5644 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.4139, allocations: 0.9386 MB / 0.5653 GB, free: 13.35 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005519/0.4144, allocations: 39.56 kB / 0.5654 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008537/0.4153, allocations: 305.5 kB / 0.5657 GB, free: 13.01 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009519/0.4162, allocations: 449 kB / 0.5661 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01162/0.4278, allocations: 4.462 MB / 0.5704 GB, free: 8.086 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.4296, allocations: 1.323 MB / 0.5717 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.4302, allocations: 375.3 kB / 0.5721 GB, free: 6.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009011/0.4311, allocations: 0.658 MB / 0.5727 GB, free: 5.715 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006228/0.4317, allocations: 421.7 kB / 0.5731 GB, free: 5.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.4318, allocations: 36 kB / 0.5732 GB, free: 5.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007752/0.4395, allocations: 4.162 MB / 0.5772 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.4397, allocations: 107.5 kB / 0.5773 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.44, allocations: 290.5 kB / 0.5776 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005065/0.4451, allocations: 3.07 MB / 0.5806 GB, free: 13.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4451, allocations: 0 / 0.5806 GB, free: 13.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4451, allocations: 4 kB / 0.5806 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.4451, allocations: 3.984 kB / 0.5806 GB, free: 13.62 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.002042/0.4471, allocations: 1.25 MB / 0.5818 GB, free: 12.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4472, allocations: 8.031 kB / 0.5818 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.4473, allocations: 100.3 kB / 0.5819 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.448, allocations: 414.1 kB / 0.5823 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.448, allocations: 41.12 kB / 0.5824 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.4481, allocations: 48 kB / 0.5824 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008628/0.4489, allocations: 0.6158 MB / 0.583 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.449, allocations: 3.938 kB / 0.583 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.449, allocations: 24 kB / 0.5831 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.449, allocations: 16 kB / 0.5831 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.4495, allocations: 255.3 kB / 0.5833 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.4536, allocations: 4.414 MB / 0.5876 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.4537, allocations: 169.1 kB / 0.5878 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.4537, allocations: 84.08 kB / 0.5879 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.4538, allocations: 79.28 kB / 0.5879 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.4538, allocations: 105.8 kB / 0.588 GB, free: 5.637 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.4538, allocations: 0 / 0.588 GB, free: 5.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001344/0.454, allocations: 81.33 kB / 0.5881 GB, free: 5.551 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.454, allocations: 130.7 kB / 0.5882 GB, free: 5.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.4547, allocations: 0.5079 MB / 0.5887 GB, free: 4.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.4547, allocations: 29.7 kB / 0.5888 GB, free: 4.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.4551, allocations: 419.5 kB / 0.5892 GB, free: 4.441 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.4551, allocations: 0 / 0.5892 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.4552, allocations: 37.66 kB / 0.5892 GB, free: 4.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.4554, allocations: 362.8 kB / 0.5895 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.4554, allocations: 19.92 kB / 0.5896 GB, free: 4.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4555, allocations: 86.3 kB / 0.5896 GB, free: 3.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4557, allocations: 126 kB / 0.5898 GB, free: 3.734 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4557, allocations: 4 kB / 0.5898 GB, free: 3.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003274/0.456, allocations: 177.1 kB / 0.5899 GB, free: 3.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.4561, allocations: 8 kB / 0.59 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4561, allocations: 0 / 0.59 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4561, allocations: 4 kB / 0.59 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4562, allocations: 23.98 kB / 0.59 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4562, allocations: 7.938 kB / 0.59 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.4563, allocations: 15.83 kB / 0.59 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4563, allocations: 8.375 kB / 0.59 GB, free: 3.484 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.0002137/0.4565, allocations: 237.1 kB / 0.5902 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4567, allocations: 160.6 kB / 0.5904 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.4568, allocations: 148.9 kB / 0.5905 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.392e-05/0.4569, allocations: 176.3 kB / 0.5907 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.67e-05/0.457, allocations: 184.2 kB / 0.5909 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.581e-05/0.457, allocations: 180.3 kB / 0.591 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.4575, allocations: 0.5591 MB / 0.5916 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.551e-05/0.4576, allocations: 101 kB / 0.5917 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.4576, allocations: 109.1 kB / 0.5918 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.832e-05/0.4577, allocations: 188.2 kB / 0.592 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.314e-05/0.4578, allocations: 180.3 kB / 0.5921 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.362e-05/0.4579, allocations: 184.2 kB / 0.5923 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.29e-05/0.458, allocations: 176.3 kB / 0.5925 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.4582, allocations: 371.3 kB / 0.5928 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.4583, allocations: 140.7 kB / 0.593 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.4584, allocations: 188.2 kB / 0.5932 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.4586, allocations: 101 kB / 0.5932 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.4587, allocations: 184.2 kB / 0.5934 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.4588, allocations: 104.9 kB / 0.5935 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003985/0.4592, allocations: 347.1 kB / 0.5939 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4592, allocations: 4 kB / 0.5939 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001825/0.4611, allocations: 0.7984 MB / 0.5946 GB, free: 14.55 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.002359/0.4634, allocations: 1.004 MB / 0.5956 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.4636, allocations: 39.86 kB / 0.5957 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4636, allocations: 0.75 kB / 0.5957 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.4636, allocations: 0 / 0.5957 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.4652, allocations: 0.6929 MB / 0.5963 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.4665, allocations: 0.9366 MB / 0.5973 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.4668, allocations: 280.5 kB / 0.5975 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.467, allocations: 91.16 kB / 0.5976 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.467, allocations: 40.48 kB / 0.5976 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.467, allocations: 0 / 0.5976 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.03485/0.5019, allocations: 22.18 MB / 0.6193 GB, free: 5.359 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.438953093020245] Failed to read output from testmodel.py, exit status != 0: 0.5104765529977158 0.525782447 0.07749610399999994 Calling exit ...