Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001967/0.001967, allocations: 83.92 kB / 20.68 MB, free: 1.023 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.002274/0.002274, allocations: 168.1 kB / 23.96 MB, free: 4.145 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.456/1.456, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.1377/0.1377, allocations: 19.75 MB / 280.4 MB, free: 12.91 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 417.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.556e-05, allocations: 2.281 kB / 417.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2679/0.2679, allocations: 97.79 MB / 0.5028 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01622/0.2842, allocations: 10.38 MB / 0.5129 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.2853, allocations: 31.69 kB / 0.513 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.287, allocations: 0.5353 MB / 0.5135 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.2887, allocations: 0.6517 MB / 0.5141 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01727/0.306, allocations: 5.748 MB / 0.5197 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003117/0.3091, allocations: 1.723 MB / 0.5214 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.3102, allocations: 0.5126 MB / 0.5219 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.3118, allocations: 0.9116 MB / 0.5228 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008194/0.3126, allocations: 0.5374 MB / 0.5233 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.3127, allocations: 64 kB / 0.5234 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/0.3251, allocations: 6.161 MB / 0.5294 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.3254, allocations: 171.3 kB / 0.5296 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.326, allocations: 299.4 kB / 0.5299 GB, free: 420 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.3376, allocations: 5.312 MB / 0.535 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3376, allocations: 0 / 0.535 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3376, allocations: 0 / 0.535 GB, free: 11.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3376, allocations: 0 / 0.535 GB, free: 11.09 MB / 430.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.004103/0.3417, allocations: 1.507 MB / 0.5365 GB, free: 9.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3417, allocations: 12.03 kB / 0.5365 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000655/0.3424, allocations: 148.4 kB / 0.5367 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.3431, allocations: 433.9 kB / 0.5371 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.3432, allocations: 49.69 kB / 0.5371 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3433, allocations: 60.38 kB / 0.5372 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.345, allocations: 0.8146 MB / 0.538 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3451, allocations: 3 kB / 0.538 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.3451, allocations: 31.94 kB / 0.538 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.3452, allocations: 16 kB / 0.538 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.3467, allocations: 0.5905 MB / 0.5386 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.3504, allocations: 2.648 MB / 0.5412 GB, free: 4.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.3519, allocations: 463.7 kB / 0.5416 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.3523, allocations: 165.6 kB / 0.5418 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06401/0.4163, allocations: 17.53 MB / 0.5589 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.4163, allocations: 46.5 kB / 0.559 GB, free: 2.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.575e-06/0.4163, allocations: 0 / 0.559 GB, free: 2.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.002469/0.4188, allocations: 0.6837 MB / 0.5596 GB, free: 1.652 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.4189, allocations: 85.05 kB / 0.5597 GB, free: 1.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.4193, allocations: 373.9 kB / 0.5601 GB, free: 1.172 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.4194, allocations: 33.7 kB / 0.5601 GB, free: 1.133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.4196, allocations: 356.5 kB / 0.5604 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.4197, allocations: 119 kB / 0.5605 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.4199, allocations: 73.97 kB / 0.5606 GB, free: 0.582 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.42, allocations: 362.7 kB / 0.561 GB, free: 224 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.4204, allocations: 134.1 kB / 0.5611 GB, free: 88 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.4208, allocations: 201.9 kB / 0.5613 GB, free: 15.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.4216, allocations: 344 kB / 0.5616 GB, free: 15.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4216, allocations: 3.938 kB / 0.5616 GB, free: 15.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001007/0.4227, allocations: 421.9 kB / 0.562 GB, free: 15.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4227, allocations: 8 kB / 0.562 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4227, allocations: 0 / 0.562 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4227, allocations: 7.984 kB / 0.562 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.4232, allocations: 87.88 kB / 0.5621 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4232, allocations: 12.17 kB / 0.5621 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.4235, allocations: 39.77 kB / 0.5622 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.4235, allocations: 16 kB / 0.5622 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003966/0.4239, allocations: 224.7 kB / 0.5624 GB, free: 14.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003161/0.4242, allocations: 191.1 kB / 0.5626 GB, free: 14.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005618/0.4248, allocations: 309.4 kB / 0.5629 GB, free: 14.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.4248, allocations: 0 / 0.5629 GB, free: 14.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000732/0.4255, allocations: 373 kB / 0.5632 GB, free: 13.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.4255, allocations: 4 kB / 0.5632 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4255, allocations: 4 kB / 0.5632 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.4256, allocations: 8.344 kB / 0.5632 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.4259, allocations: 87.83 kB / 0.5633 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.4259, allocations: 7.938 kB / 0.5633 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.4261, allocations: 31.83 kB / 0.5634 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.4261, allocations: 19.98 kB / 0.5634 GB, free: 13.59 MB / 462.1 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.0001608/0.4263, allocations: 204.1 kB / 0.5636 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.4264, allocations: 51.72 kB / 0.5636 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.4286, allocations: 1.637 MB / 0.5652 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/0.4286, allocations: 23.95 kB / 0.5652 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4286, allocations: 0 / 0.5652 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4286, allocations: 0 / 0.5652 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.4296, allocations: 0.8121 MB / 0.566 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4296, allocations: 0 / 0.566 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.43, allocations: 71.88 kB / 0.5661 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.43, allocations: 0 / 0.5661 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.43, allocations: 12 kB / 0.5661 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.43, allocations: 0 / 0.5661 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.43, allocations: 4 kB / 0.5661 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.4314, allocations: 1 MB / 0.5671 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.4316, allocations: 115.1 kB / 0.5672 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.4317, allocations: 8 kB / 0.5672 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.432, allocations: 15.98 kB / 0.5672 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.4321, allocations: 43.92 kB / 0.5673 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.4322, allocations: 16.94 kB / 0.5673 GB, free: 9.523 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.4324, allocations: 255.1 kB / 0.5675 GB, free: 9.281 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4324, allocations: 3.938 kB / 0.5675 GB, free: 9.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002624/0.435, allocations: 1.107 MB / 0.5686 GB, free: 8.168 MB / 462.1 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.003544/0.4386, allocations: 1.105 MB / 0.5697 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.44, allocations: 0.6458 MB / 0.5703 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.44, allocations: 0 / 0.5703 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006091/0.4406, allocations: 345.2 kB / 0.5707 GB, free: 6.074 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.442, allocations: 232 kB / 0.5709 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.445, allocations: 1.61 MB / 0.5725 GB, free: 4.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.4454, allocations: 396.2 kB / 0.5728 GB, free: 3.781 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006555/0.4461, allocations: 370.6 kB / 0.5732 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.4463, allocations: 48.48 kB / 0.5732 GB, free: 3.371 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4463, allocations: 0 / 0.5732 GB, free: 3.371 MB / 462.1 MB Notification: Performance of Templates: time 0.0562/0.5025, allocations: 37.18 MB / 0.6095 GB, free: 14.35 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.349129650741816] Failed to read output from testmodel.py, exit status != 0: 0.5115221254527569 0.525779344 0.184927809 Calling exit ...