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.001904/0.001904, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001977/0.001977, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.423/1.423, allocations: 158.6 MB / 186.1 MB, free: 2.879 MB / 170.7 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.2898/0.2898, allocations: 36.35 MB / 274.7 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.653e-05, allocations: 5.688 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.3042/0.3042, allocations: 97.56 MB / 450.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.316, allocations: 10.32 MB / 460.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007724/0.3168, allocations: 29.41 kB / 461 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3182, allocations: 0.5317 MB / 461.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.3196, allocations: 0.6571 MB / 462.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01385/0.3335, allocations: 5.71 MB / 467.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002043/0.3355, allocations: 1.715 MB / 469.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009703/0.3365, allocations: 0.5292 MB / 470.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.3381, allocations: 0.8978 MB / 471 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009381/0.3391, allocations: 0.538 MB / 471.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.3392, allocations: 67.69 kB / 471.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.3501, allocations: 6.137 MB / 477.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.3503, allocations: 169.8 kB / 477.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.3509, allocations: 304.1 kB / 478.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008717/0.3596, allocations: 5.28 MB / 483.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3596, allocations: 0 / 483.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3596, allocations: 2.406 kB / 483.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3596, allocations: 0 / 483.5 MB, free: 10.81 MB / 362.7 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.003474/0.3631, allocations: 1.499 MB / 485 MB, free: 9.906 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3631, allocations: 13.75 kB / 485 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.3636, allocations: 200 kB / 485.2 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.3642, allocations: 434.2 kB / 485.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.3642, allocations: 49.06 kB / 485.7 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-05/0.3643, allocations: 62.59 kB / 485.7 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3657, allocations: 0.8084 MB / 486.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3658, allocations: 6.594 kB / 486.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.3658, allocations: 28.69 kB / 486.6 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3658, allocations: 16.44 kB / 486.6 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.3672, allocations: 0.5931 MB / 487.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.3699, allocations: 2.664 MB / 489.9 MB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.3712, allocations: 467.6 kB / 490.3 MB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.3715, allocations: 167.2 kB / 490.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05959/0.4311, allocations: 16.8 MB / 0.4954 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.4311, allocations: 43.42 kB / 0.4954 GB, free: 5.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.4312, allocations: 0 / 0.4954 GB, free: 5.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.00263/0.4338, allocations: 0.7455 MB / 0.4962 GB, free: 4.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.4339, allocations: 81.11 kB / 0.4962 GB, free: 4.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.4343, allocations: 373.9 kB / 0.4966 GB, free: 4.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.4344, allocations: 29.7 kB / 0.4966 GB, free: 4.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.4347, allocations: 348.6 kB / 0.4969 GB, free: 3.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.4348, allocations: 122.2 kB / 0.4971 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.435, allocations: 66.02 kB / 0.4971 GB, free: 3.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.4352, allocations: 364.8 kB / 0.4975 GB, free: 3.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.4356, allocations: 134.1 kB / 0.4976 GB, free: 3.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.4361, allocations: 201.8 kB / 0.4978 GB, free: 2.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/0.4369, allocations: 342.2 kB / 0.4981 GB, free: 2.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4369, allocations: 0 / 0.4981 GB, free: 2.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001099/0.438, allocations: 439.5 kB / 0.4985 GB, free: 2.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.438, allocations: 8 kB / 0.4985 GB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.438, allocations: 3.188 kB / 0.4986 GB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.4381, allocations: 4 kB / 0.4986 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.4386, allocations: 87.12 kB / 0.4986 GB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.4386, allocations: 4.25 kB / 0.4986 GB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.4389, allocations: 51.59 kB / 0.4987 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.439, allocations: 19.98 kB / 0.4987 GB, free: 2.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004327/0.4394, allocations: 220.8 kB / 0.4989 GB, free: 1.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003534/0.4397, allocations: 193.8 kB / 0.4991 GB, free: 1.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006226/0.4404, allocations: 304.5 kB / 0.4994 GB, free: 1.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.4404, allocations: 0 / 0.4994 GB, free: 1.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0008122/0.4412, allocations: 383.5 kB / 0.4998 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.4412, allocations: 4 kB / 0.4998 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4412, allocations: 4 kB / 0.4998 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.4412, allocations: 8.344 kB / 0.4998 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.4416, allocations: 87.22 kB / 0.4999 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4416, allocations: 7.375 kB / 0.4999 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.4418, allocations: 35.83 kB / 0.4999 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.4418, allocations: 12 kB / 0.4999 GB, free: 0.7422 MB / 378.7 MB 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.0001916/0.442, allocations: 203.4 kB / 0.5001 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4422, allocations: 55.72 kB / 0.5002 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.4449, allocations: 1.649 MB / 0.5018 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/0.4449, allocations: 19.97 kB / 0.5018 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4449, allocations: 2.938 kB / 0.5018 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4449, allocations: 3.984 kB / 0.5018 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.4461, allocations: 0.8145 MB / 0.5026 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4461, allocations: 0 / 0.5026 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.4465, allocations: 67.33 kB / 0.5027 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4465, allocations: 0 / 0.5027 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.4465, allocations: 12 kB / 0.5027 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4465, allocations: 2.906 kB / 0.5027 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4465, allocations: 0 / 0.5027 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4482, allocations: 1.016 MB / 0.5037 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.4484, allocations: 119.1 kB / 0.5038 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.4484, allocations: 4 kB / 0.5038 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.4488, allocations: 19.97 kB / 0.5038 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.4489, allocations: 43.31 kB / 0.5038 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.4489, allocations: 16 kB / 0.5039 GB, free: 12.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003016/0.4492, allocations: 255.1 kB / 0.5041 GB, free: 12.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4492, allocations: 0 / 0.5041 GB, free: 12.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003098/0.4523, allocations: 1.095 MB / 0.5052 GB, free: 11.34 MB / 394.7 MB 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.003881/0.4562, allocations: 1.095 MB / 0.5062 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.4578, allocations: 0.6333 MB / 0.5069 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4578, allocations: 0 / 0.5069 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.4585, allocations: 351.2 kB / 0.5072 GB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.46, allocations: 244.8 kB / 0.5074 GB, free: 9.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.4637, allocations: 1.629 MB / 0.509 GB, free: 7.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.4642, allocations: 384.4 kB / 0.5094 GB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000775/0.465, allocations: 378.8 kB / 0.5097 GB, free: 6.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.4651, allocations: 48.48 kB / 0.5098 GB, free: 6.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.243e-06/0.4651, allocations: 0 / 0.5098 GB, free: 6.66 MB / 394.7 MB Notification: Performance of Templates: time 0.06279/0.5279, allocations: 37.23 MB / 0.5461 GB, free: 1.457 MB / 426.7 MB " [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: 8.024430006975308]