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.00185/0.00185, allocations: 77.78 kB / 21.27 MB, free: 0.5391 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.002129/0.002129, allocations: 162.1 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 2.31/2.31, allocations: 177.2 MB / 204.9 MB, free: 9.277 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.2007/0.2007, allocations: 19.7 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.002822/0.002822, allocations: 71.89 kB / 417.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5032/0.506, 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.2472/0.7532, allocations: 99.89 MB / 0.5644 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.7562, allocations: 0.9307 MB / 0.5653 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.7568, allocations: 31.62 kB / 0.5654 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.7579, allocations: 317.4 kB / 0.5657 GB, free: 13 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.759, allocations: 445 kB / 0.5661 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01854/0.7776, allocations: 4.47 MB / 0.5704 GB, free: 8.074 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01282/0.7904, allocations: 1.315 MB / 0.5717 GB, free: 6.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.7914, allocations: 379.3 kB / 0.5721 GB, free: 6.367 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007055/0.7985, allocations: 0.6657 MB / 0.5727 GB, free: 5.699 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.7995, allocations: 417.8 kB / 0.5731 GB, free: 5.289 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/0.7996, allocations: 36 kB / 0.5732 GB, free: 5.254 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02215/0.8218, allocations: 4.155 MB / 0.5772 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.822, allocations: 119.4 kB / 0.5773 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005597/0.8226, allocations: 286.5 kB / 0.5776 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.8428, allocations: 3.066 MB / 0.5806 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.8429, allocations: 0 / 0.5806 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.8429, allocations: 0 / 0.5806 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.8429, allocations: 4 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.003119/0.846, allocations: 1.254 MB / 0.5818 GB, free: 12.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.846, allocations: 8.031 kB / 0.5819 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.8463, allocations: 96.33 kB / 0.5819 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.8475, allocations: 430 kB / 0.5824 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.8475, allocations: 41.12 kB / 0.5824 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.8476, allocations: 48 kB / 0.5824 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.849, allocations: 0.6003 MB / 0.583 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.8491, allocations: 3.938 kB / 0.583 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.8491, allocations: 27.94 kB / 0.5831 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.8492, allocations: 16 kB / 0.5831 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.8499, allocations: 251.3 kB / 0.5833 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006501/0.8564, allocations: 4.422 MB / 0.5876 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.8566, allocations: 165.1 kB / 0.5878 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.8566, allocations: 80.14 kB / 0.5879 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/0.8567, allocations: 79.28 kB / 0.5879 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.728e-05/0.8568, allocations: 109.8 kB / 0.588 GB, free: 5.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.8568, allocations: 0 / 0.588 GB, free: 5.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.000201/0.857, allocations: 85.27 kB / 0.5881 GB, free: 5.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.8571, allocations: 134.7 kB / 0.5883 GB, free: 5.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.858, allocations: 0.5001 MB / 0.5887 GB, free: 4.883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.8581, allocations: 33.7 kB / 0.5888 GB, free: 4.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005516/0.8586, allocations: 411.5 kB / 0.5892 GB, free: 4.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.8586, allocations: 7.984 kB / 0.5892 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.8587, allocations: 37.66 kB / 0.5892 GB, free: 4.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002732/0.859, allocations: 358.8 kB / 0.5896 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.8591, allocations: 15.98 kB / 0.5896 GB, free: 4.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.8592, allocations: 90.23 kB / 0.5897 GB, free: 3.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.8595, allocations: 118.1 kB / 0.5898 GB, free: 3.734 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8595, allocations: 0 / 0.5898 GB, free: 3.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005591/0.8601, allocations: 185.1 kB / 0.5899 GB, free: 3.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.8601, allocations: 8 kB / 0.59 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.8601, allocations: 0 / 0.59 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.8601, allocations: 4 kB / 0.59 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.8603, allocations: 27.92 kB / 0.59 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.8603, allocations: 4 kB / 0.59 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.8605, allocations: 15.83 kB / 0.59 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.8606, allocations: 16.36 kB / 0.59 GB, free: 3.473 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.0003263/0.8609, allocations: 237.9 kB / 0.5902 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.8611, allocations: 156.7 kB / 0.5904 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.8613, allocations: 144.9 kB / 0.5905 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001115/0.8614, allocations: 184.2 kB / 0.5907 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001175/0.8615, allocations: 180.2 kB / 0.5909 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001206/0.8616, allocations: 184.2 kB / 0.5911 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.8623, allocations: 0.5553 MB / 0.5916 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001193/0.8624, allocations: 101 kB / 0.5917 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.8625, allocations: 113.1 kB / 0.5918 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001597/0.8626, allocations: 180.3 kB / 0.592 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.8628, allocations: 184.2 kB / 0.5921 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001095/0.8629, allocations: 184.3 kB / 0.5923 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001119/0.863, allocations: 184.2 kB / 0.5925 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.8633, allocations: 359.4 kB / 0.5928 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.8635, allocations: 148.6 kB / 0.593 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.8637, allocations: 184.2 kB / 0.5932 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.8639, allocations: 104.9 kB / 0.5933 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.864, allocations: 176.3 kB / 0.5934 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.8641, allocations: 105 kB / 0.5935 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00065/0.8647, allocations: 347.1 kB / 0.5939 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8647, allocations: 0 / 0.5939 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002859/0.8676, allocations: 0.8062 MB / 0.5946 GB, free: 14.54 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.003536/0.8711, allocations: 1.004 MB / 0.5956 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.8714, allocations: 39.91 kB / 0.5957 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.8714, allocations: 4 kB / 0.5957 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.64e-06/0.8714, allocations: 4.688 kB / 0.5957 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.8737, allocations: 0.6849 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.00206/0.8758, allocations: 0.9406 MB / 0.5973 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.8762, allocations: 280.5 kB / 0.5975 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003689/0.8766, allocations: 91.16 kB / 0.5976 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/0.8767, allocations: 40.44 kB / 0.5977 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.8767, allocations: 0 / 0.5977 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.05086/0.9275, allocations: 22.17 MB / 0.6193 GB, free: 5.355 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 cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.990777182974853] Failed to read output from testmodel.py, exit status != 0: 0.9431250690249726 0.965335355 0.116994913 Calling exit ...