Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.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.00173/0.00173, allocations: 79.52 kB / 21.28 MB, free: 380 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.002059/0.002059, allocations: 163 kB / 24.54 MB, free: 3.586 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.415/1.415, allocations: 177.2 MB / 204.9 MB, free: 9.262 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.1394/0.1394, allocations: 19.71 MB / 281 MB, free: 13.03 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.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") [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.002124/0.002124, allocations: 67.91 kB / 417.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2688, allocations: 60.44 MB / 478.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp): time 0.06018/0.3289, allocations: 49.87 MB / 0.5156 GB, free: 248 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01957/0.3485, allocations: 13.57 MB / 0.5288 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005727/0.3491, allocations: 19.81 kB / 0.5289 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.3502, allocations: 329.8 kB / 0.5292 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0131/0.3633, allocations: 4.773 MB / 0.5338 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.3671, allocations: 1.299 MB / 0.5351 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002411/0.3695, allocations: 1.843 MB / 0.5369 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000907/0.3704, allocations: 0.5144 MB / 0.5374 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.3721, allocations: 0.9388 MB / 0.5383 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.3733, allocations: 0.7121 MB / 0.539 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.3735, allocations: 88 kB / 0.5391 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/0.3874, allocations: 6.95 MB / 0.5459 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005816/0.388, allocations: 358.9 kB / 0.5462 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009146/0.3889, allocations: 0.4902 MB / 0.5467 GB, free: 288 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.4003, allocations: 5.143 MB / 0.5517 GB, free: 11.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4003, allocations: 0 / 0.5517 GB, free: 11.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4003, allocations: 0 / 0.5517 GB, free: 11.12 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.4004, allocations: 4 kB / 0.5517 GB, free: 11.12 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00547/0.4058, allocations: 1.958 MB / 0.5537 GB, free: 9.129 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4059, allocations: 8.031 kB / 0.5537 GB, free: 9.121 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.4073, allocations: 256.1 kB / 0.5539 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.4087, allocations: 0.6252 MB / 0.5545 GB, free: 8.215 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.4089, allocations: 126 kB / 0.5546 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.409, allocations: 96.08 kB / 0.5547 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005409/0.4144, allocations: 2.146 MB / 0.5568 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.4145, allocations: 7.875 kB / 0.5568 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.4146, allocations: 43.98 kB / 0.5569 GB, free: 5.754 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/0.4146, allocations: 38 kB / 0.5569 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005494/0.4201, allocations: 2.045 MB / 0.5589 GB, free: 3.668 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/0.4261, allocations: 3.089 MB / 0.5619 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.43, allocations: 1.3 MB / 0.5632 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.4307, allocations: 366.6 kB / 0.5635 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1564/0.5871, allocations: 43.89 MB / 0.6064 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.037e-05/0.5872, allocations: 43.25 kB / 0.6064 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=72): time 3.947e-06/0.5872, allocations: 0 / 0.6064 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72): time 0.009672/0.5968, allocations: 2.488 MB / 0.6089 GB, free: 376 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.5969, allocations: 56.06 kB / 0.6089 GB, free: 308 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.5976, allocations: 461.8 kB / 0.6094 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.5978, allocations: 41.7 kB / 0.6094 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.5981, allocations: 400.6 kB / 0.6098 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.5984, allocations: 269.7 kB / 0.61 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.5989, allocations: 242.5 kB / 0.6103 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.5992, allocations: 374.8 kB / 0.6106 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.6003, allocations: 0.5747 MB / 0.6112 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.6016, allocations: 0.7092 MB / 0.6119 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/0.6041, allocations: 1.252 MB / 0.6131 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6042, allocations: 0 / 0.6131 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00472/0.6089, allocations: 2.025 MB / 0.6151 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6089, allocations: 4.312 kB / 0.6151 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6089, allocations: 11.94 kB / 0.6151 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/0.6135, allocations: 1.673 MB / 0.6167 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.6139, allocations: 91.81 kB / 0.6168 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/0.6184, allocations: 2.302 MB / 0.6191 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008262/0.6192, allocations: 75.58 kB / 0.6191 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.6194, allocations: 79.91 kB / 0.6192 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00149/0.6208, allocations: 0.7868 MB / 0.62 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001299/0.6221, allocations: 0.7022 MB / 0.6207 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002446/0.6246, allocations: 1.229 MB / 0.6219 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.6246, allocations: 4 kB / 0.6219 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.004409/0.629, allocations: 1.977 MB / 0.6238 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.629, allocations: 8 kB / 0.6238 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.629, allocations: 4 kB / 0.6238 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004526/0.6336, allocations: 1.675 MB / 0.6255 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.6339, allocations: 87.81 kB / 0.6255 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.6383, allocations: 2.314 MB / 0.6278 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/0.6391, allocations: 67.88 kB / 0.6279 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.6393, allocations: 83.86 kB / 0.6279 GB, free: 12.54 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.friction.NoFriction,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,41)} Notification: Performance of prepare postOptimizeDAE: time 0.0003721/0.6397, allocations: 223.2 kB / 0.6282 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.64, allocations: 67.58 kB / 0.6282 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.6512, allocations: 9.259 MB / 0.6373 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.6513, allocations: 3.984 kB / 0.6373 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6513, allocations: 7.938 kB / 0.6373 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.6517, allocations: 182.9 kB / 0.6375 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.6518, allocations: 24 kB / 0.6375 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008847/0.6527, allocations: 79.84 kB / 0.6376 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.6529, allocations: 72.45 kB / 0.6376 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004001/0.6569, allocations: 1.743 MB / 0.6393 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2075/0.8644, allocations: 2.515 MB / 0.6418 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009165/0.8653, allocations: 0.6256 MB / 0.6424 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003383/0.8657, allocations: 314.5 kB / 0.6427 GB, free: 164 MB / 0.5294 GB Notification: Performance of Backend: time 4.61e-07/0.8657, allocations: 0 / 0.6427 GB, free: 164 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008546/0.8742, allocations: 3.128 MB / 0.6457 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002938/0.8771, allocations: 2.503 MB / 0.6482 GB, free: 162 MB / 0.5294 GB Notification: Performance of Templates: time 0.06105/0.9382, allocations: 64.48 MB / 0.7112 GB, free: 100.4 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.349415909964591] Failed to read output from testmodel.py, exit status != 0: 0.9466111350338906 0.955265301 0.552510109 Calling exit ...