Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.001385/0.001385, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00144/0.00144, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.326/1.326, allocations: 207.7 MB / 235.3 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 179] 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.2846/0.2846, allocations: 49.6 MB / 337.2 MB, free: 3.895 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [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.002391/0.002391, allocations: 75.91 kB / 477.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1135, allocations: 62.43 MB / 0.5274 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.353/0.4665, allocations: 98.43 MB / 0.6235 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.4826, allocations: 10.31 MB / 0.6336 GB, free: 8.047 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.4838, allocations: 27.75 kB / 0.6336 GB, free: 8.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.4858, allocations: 0.5239 MB / 0.6341 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.4877, allocations: 0.633 MB / 0.6347 GB, free: 6.855 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01676/0.5045, allocations: 5.644 MB / 0.6403 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002591/0.507, allocations: 1.65 MB / 0.6419 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009627/0.508, allocations: 0.5087 MB / 0.6424 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.5091, allocations: 0.6695 MB / 0.643 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009214/0.51, allocations: 0.5989 MB / 0.6436 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.5101, allocations: 64 kB / 0.6437 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01278/0.5229, allocations: 6.13 MB / 0.6496 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.5232, allocations: 175.2 kB / 0.6498 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005968/0.5238, allocations: 350.5 kB / 0.6501 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008945/0.5327, allocations: 4.302 MB / 0.6543 GB, free: 2.738 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5327, allocations: 0 / 0.6543 GB, free: 2.738 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5327, allocations: 0 / 0.6543 GB, free: 2.738 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.5328, allocations: 0 / 0.6543 GB, free: 2.738 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003908/0.5367, allocations: 1.499 MB / 0.6558 GB, free: 1.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5367, allocations: 12.03 kB / 0.6558 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.5371, allocations: 120.3 kB / 0.6559 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/0.5379, allocations: 430.6 kB / 0.6563 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.5379, allocations: 45.69 kB / 0.6564 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.538, allocations: 64.56 kB / 0.6565 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.5397, allocations: 0.8101 MB / 0.6572 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.5397, allocations: 3.938 kB / 0.6572 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.5398, allocations: 31.98 kB / 0.6573 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.5398, allocations: 16 kB / 0.6573 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.5413, allocations: 0.5788 MB / 0.6579 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.5448, allocations: 2.652 MB / 0.6604 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.5462, allocations: 466 kB / 0.6609 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.5466, allocations: 157.6 kB / 0.661 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06026/0.6068, allocations: 16.82 MB / 0.6775 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.6069, allocations: 34.56 kB / 0.6775 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.6069, allocations: 0 / 0.6775 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.002262/0.6092, allocations: 0.6859 MB / 0.6782 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.6092, allocations: 85.05 kB / 0.6783 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.6098, allocations: 381.8 kB / 0.6786 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.6098, allocations: 33.7 kB / 0.6787 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.6101, allocations: 344.6 kB / 0.679 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.6103, allocations: 126.9 kB / 0.6791 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.6104, allocations: 73.97 kB / 0.6792 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.6106, allocations: 346.8 kB / 0.6795 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.611, allocations: 138.1 kB / 0.6796 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.6114, allocations: 193.8 kB / 0.6798 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/0.6121, allocations: 332.3 kB / 0.6801 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6121, allocations: 4 kB / 0.6801 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009267/0.6131, allocations: 417 kB / 0.6805 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.6131, allocations: 4 kB / 0.6805 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6131, allocations: 4 kB / 0.6805 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.6131, allocations: 4 kB / 0.6805 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.6136, allocations: 96.75 kB / 0.6806 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.6136, allocations: 4 kB / 0.6806 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.6139, allocations: 43.75 kB / 0.6807 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.6139, allocations: 16 kB / 0.6807 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004098/0.6143, allocations: 220.7 kB / 0.6809 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003151/0.6146, allocations: 192 kB / 0.6811 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005512/0.6152, allocations: 306.9 kB / 0.6814 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.6152, allocations: 0 / 0.6814 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006913/0.6159, allocations: 360.9 kB / 0.6817 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6159, allocations: 8.344 kB / 0.6817 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6159, allocations: 19.23 kB / 0.6818 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.6159, allocations: 4 kB / 0.6818 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.6162, allocations: 79.89 kB / 0.6818 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.6162, allocations: 11.88 kB / 0.6818 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.6164, allocations: 27.88 kB / 0.6819 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.6165, allocations: 16 kB / 0.6819 GB, free: 6.039 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001798/0.6166, allocations: 200.8 kB / 0.6821 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.6167, allocations: 51.67 kB / 0.6821 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.619, allocations: 1.627 MB / 0.6837 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.619, allocations: 27.91 kB / 0.6837 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.619, allocations: 0 / 0.6837 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.619, allocations: 3.984 kB / 0.6838 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.6201, allocations: 0.8192 MB / 0.6846 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6201, allocations: 0 / 0.6846 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.6204, allocations: 67.89 kB / 0.6846 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6204, allocations: 4 kB / 0.6846 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.6205, allocations: 11.98 kB / 0.6846 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6205, allocations: 0 / 0.6846 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6205, allocations: 3.938 kB / 0.6846 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.6219, allocations: 0.9973 MB / 0.6856 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.6221, allocations: 103.2 kB / 0.6857 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.6221, allocations: 7.984 kB / 0.6857 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.6224, allocations: 19.98 kB / 0.6857 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.6225, allocations: 47.81 kB / 0.6858 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.6226, allocations: 15.98 kB / 0.6858 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002883/0.6228, allocations: 247.2 kB / 0.686 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6228, allocations: 0 / 0.686 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003386/0.6262, allocations: 1.099 MB / 0.6871 GB, free: 0.6328 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003543/0.6298, allocations: 0.9891 MB / 0.6881 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.6312, allocations: 0.6467 MB / 0.6887 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6312, allocations: 8 kB / 0.6887 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.6318, allocations: 341 kB / 0.689 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.6331, allocations: 226.6 kB / 0.6893 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.6363, allocations: 1.66 MB / 0.6909 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.6367, allocations: 388.4 kB / 0.6912 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.6369, allocations: 47.44 kB / 0.6913 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.6369, allocations: 7.938 kB / 0.6913 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.03742/0.6743, allocations: 22.74 MB / 0.7135 GB, free: 5.496 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.058171693701297] Failed to read output from testmodel.py, exit status != 0: 0.6842969227582216 0.699188777 0.163242208 Calling exit ...