Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001644/0.001644, allocations: 71.75 kB / 21.24 MB, free: 400 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.001547/0.001547, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 158.6 MB / 186.3 MB, free: 6.121 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2925/0.2925, allocations: 36.36 MB / 274.8 MB, free: 14.65 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002623/0.002623, allocations: 76.45 kB / 415.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3709, allocations: 62.37 MB / 477.6 MB, free: 43.48 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297: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 master/Water.mo:297:5-297: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.1403/0.5112, allocations: 99.98 MB / 0.5641 GB, free: 8.727 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.5141, allocations: 0.9237 MB / 0.565 GB, free: 7.801 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.5149, allocations: 35.62 kB / 0.565 GB, free: 7.766 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.5159, allocations: 309.4 kB / 0.5653 GB, free: 7.461 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.5169, allocations: 449.1 kB / 0.5657 GB, free: 7.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01489/0.5318, allocations: 4.443 MB / 0.5701 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.5343, allocations: 1.33 MB / 0.5714 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000807/0.5351, allocations: 371.3 kB / 0.5717 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008306/0.5359, allocations: 470.1 kB / 0.5722 GB, free: 396 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007223/0.5367, allocations: 413.9 kB / 0.5726 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.5367, allocations: 36 kB / 0.5726 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009874/0.5466, allocations: 4.151 MB / 0.5767 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.5469, allocations: 111.4 kB / 0.5768 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004963/0.5474, allocations: 290.5 kB / 0.577 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00856/0.5559, allocations: 3.058 MB / 0.58 GB, free: 8.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5559, allocations: 8 kB / 0.58 GB, free: 8.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5559, allocations: 0 / 0.58 GB, free: 8.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.556, allocations: 0 / 0.58 GB, free: 8.32 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.002494/0.5584, allocations: 1.25 MB / 0.5813 GB, free: 7.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5585, allocations: 8.031 kB / 0.5813 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.5587, allocations: 96.38 kB / 0.5814 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007139/0.5594, allocations: 430 kB / 0.5818 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.5594, allocations: 41.12 kB / 0.5818 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.5595, allocations: 44 kB / 0.5819 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/0.5604, allocations: 0.6044 MB / 0.5824 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.5604, allocations: 3.938 kB / 0.5824 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.5604, allocations: 24 kB / 0.5825 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.5604, allocations: 16 kB / 0.5825 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.5609, allocations: 255.4 kB / 0.5827 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/0.5652, allocations: 4.418 MB / 0.587 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.5653, allocations: 169.1 kB / 0.5872 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.5654, allocations: 84.36 kB / 0.5873 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.5654, allocations: 79.27 kB / 0.5874 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.157e-05/0.5655, allocations: 109.8 kB / 0.5875 GB, free: 348 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 3.196e-06/0.5655, allocations: 0 / 0.5875 GB, free: 348 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001573/0.5657, allocations: 85.33 kB / 0.5875 GB, free: 256 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.5658, allocations: 130.7 kB / 0.5877 GB, free: 112 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.5664, allocations: 0.5079 MB / 0.5882 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.5664, allocations: 25.7 kB / 0.5882 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.5668, allocations: 415.5 kB / 0.5886 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.5668, allocations: 4 kB / 0.5886 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.5668, allocations: 29.7 kB / 0.5886 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.567, allocations: 366.7 kB / 0.589 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.5671, allocations: 15.98 kB / 0.589 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.5672, allocations: 90.27 kB / 0.5891 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.5674, allocations: 118.1 kB / 0.5892 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5674, allocations: 4 kB / 0.5892 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003404/0.5677, allocations: 181 kB / 0.5894 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5677, allocations: 8 kB / 0.5894 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5677, allocations: 0 / 0.5894 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5677, allocations: 4 kB / 0.5894 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5679, allocations: 23.98 kB / 0.5894 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.5679, allocations: 8.312 kB / 0.5894 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.568, allocations: 19.88 kB / 0.5894 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.568, allocations: 11.98 kB / 0.5894 GB, free: 14.19 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.0002205/0.5683, allocations: 237 kB / 0.5897 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.5684, allocations: 160.6 kB / 0.5898 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.5685, allocations: 144.9 kB / 0.5899 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.758e-05/0.5686, allocations: 176.3 kB / 0.5901 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.5687, allocations: 192.1 kB / 0.5903 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001017/0.5688, allocations: 180.3 kB / 0.5905 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.5693, allocations: 0.5591 MB / 0.591 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.562e-05/0.5694, allocations: 109 kB / 0.5911 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.5694, allocations: 105 kB / 0.5912 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.96e-05/0.5695, allocations: 180.2 kB / 0.5914 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.5696, allocations: 180.3 kB / 0.5916 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.361e-05/0.5697, allocations: 180.2 kB / 0.5917 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.574e-05/0.5698, allocations: 184.2 kB / 0.5919 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.5701, allocations: 367.3 kB / 0.5923 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.5702, allocations: 144.7 kB / 0.5924 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.5703, allocations: 184.2 kB / 0.5926 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5705, allocations: 101 kB / 0.5927 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.5706, allocations: 184.2 kB / 0.5928 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/0.5707, allocations: 101 kB / 0.5929 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004102/0.5711, allocations: 355.1 kB / 0.5933 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5711, allocations: 0 / 0.5933 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002349/0.5734, allocations: 0.7906 MB / 0.5941 GB, free: 9.262 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.002641/0.5761, allocations: 0.9887 MB / 0.595 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5763, allocations: 44.42 kB / 0.5951 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5763, allocations: 192 / 0.5951 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.5763, allocations: 4 kB / 0.5951 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.5779, allocations: 0.6856 MB / 0.5957 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.5795, allocations: 0.9289 MB / 0.5966 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.5798, allocations: 288.5 kB / 0.5969 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.58, allocations: 87.17 kB / 0.597 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.5801, allocations: 36.48 kB / 0.597 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.5801, allocations: 3.938 kB / 0.597 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.03811/0.6182, allocations: 22.07 MB / 0.6186 GB, free: 44 kB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.812876611948013] Failed to read output from testmodel.py, exit status != 0: 0.6285211450885981 0.643377607 0.08405318899999994 Calling exit ...