Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.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.001865/0.001865, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001926/0.001926, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.1514/0.1514, allocations: 19.73 MB / 280.8 MB, free: 9.305 MB / 266.7 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.075e-05, allocations: 2.312 kB / 357.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.239/0.239, allocations: 73.44 MB / 430.7 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2523, allocations: 12.17 MB / 442.8 MB, free: 16.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007218/0.253, allocations: 33.22 kB / 442.9 MB, free: 16.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009733/0.254, allocations: 396.8 kB / 443.2 MB, free: 16.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.255, allocations: 0.6065 MB / 443.9 MB, free: 16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01341/0.2685, allocations: 5.934 MB / 449.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.2702, allocations: 1.651 MB / 451.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005584/0.2707, allocations: 0.4989 MB / 451.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008131/0.2716, allocations: 0.821 MB / 452.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.2722, allocations: 0.5261 MB / 453.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.2723, allocations: 63.34 kB / 453.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.2825, allocations: 6.195 MB / 459.5 MB, free: 9.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.2827, allocations: 188.2 kB / 459.7 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006059/0.2833, allocations: 351.8 kB / 460.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008898/0.2922, allocations: 5.444 MB / 465.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2922, allocations: 0 / 465.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2922, allocations: 4 kB / 465.5 MB, free: 3.816 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.2923, allocations: 0 / 465.5 MB, free: 3.816 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004176/0.2964, allocations: 1.919 MB / 467.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2965, allocations: 12.03 kB / 467.5 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.297, allocations: 252 kB / 467.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/0.2978, allocations: 0.582 MB / 468.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.2979, allocations: 338.9 kB / 468.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.298, allocations: 56.38 kB / 468.7 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.2998, allocations: 0.8862 MB / 469.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2998, allocations: 0 / 469.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/0.2999, allocations: 27.94 kB / 469.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2999, allocations: 16 kB / 469.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.3021, allocations: 0.8443 MB / 470.4 MB, free: 14.75 MB / 346.7 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.004094/0.3062, allocations: 2.413 MB / 472.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.3079, allocations: 0.5 MB / 473.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.3085, allocations: 240.3 kB / 473.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.3086, allocations: 12.38 kB / 473.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.3086, allocations: 45.75 kB / 473.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005687/0.3092, allocations: 99.69 kB / 473.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.043e-06/0.3092, allocations: 0 / 473.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.009732/0.3189, allocations: 1.928 MB / 475.7 MB, free: 9.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.319, allocations: 67.27 kB / 475.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008891/0.3199, allocations: 0.6597 MB / 476.4 MB, free: 8.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.3199, allocations: 33.7 kB / 476.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.3203, allocations: 459.7 kB / 476.9 MB, free: 8.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.3205, allocations: 166.6 kB / 477 MB, free: 8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.3207, allocations: 107.8 kB / 477.1 MB, free: 7.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003543/0.3211, allocations: 0.5742 MB / 477.7 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005073/0.3216, allocations: 189.6 kB / 477.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.3221, allocations: 196.3 kB / 478.1 MB, free: 6.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3231, allocations: 411.3 kB / 478.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3231, allocations: 0 / 478.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001818/0.3249, allocations: 0.6965 MB / 479.2 MB, free: 5.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.325, allocations: 8 kB / 479.2 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.325, allocations: 0 / 479.2 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007798/0.3328, allocations: 1.088 MB / 480.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.3331, allocations: 63.89 kB / 480.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.3357, allocations: 1.263 MB / 481.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.3362, allocations: 19.98 kB / 481.6 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.3363, allocations: 19.98 kB / 481.7 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006997/0.337, allocations: 347.8 kB / 482 MB, free: 2.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005096/0.3375, allocations: 232.4 kB / 482.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009267/0.3384, allocations: 375 kB / 482.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.3384, allocations: 0 / 482.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.001587/0.34, allocations: 0.5826 MB / 483.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.34, allocations: 4 kB / 483.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.34, allocations: 4 kB / 483.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.3404, allocations: 83.61 kB / 483.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.3409, allocations: 95.88 kB / 483.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.343, allocations: 1.967 MB / 485.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.3434, allocations: 12 kB / 485.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.3435, allocations: 24 kB / 485.4 MB, free: 15.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000254/0.3437, allocations: 288.2 kB / 485.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.3439, allocations: 99.45 kB / 485.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.3459, allocations: 0.7905 MB / 486.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3459, allocations: 11.98 kB / 486.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3459, allocations: 0 / 486.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3459, allocations: 0 / 486.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.3497, allocations: 1.586 MB / 488.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.3497, allocations: 4.125 kB / 488.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.3499, allocations: 59.91 kB / 488.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/0.3525, allocations: 0.5039 MB / 488.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.3526, allocations: 23.98 kB / 488.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.3545, allocations: 1.311 MB / 490 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/0.3545, allocations: 15.88 kB / 490 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.3563, allocations: 0.9121 MB / 490.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.3565, allocations: 71.45 kB / 491 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3566, allocations: 15.94 kB / 491 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.357, allocations: 19.98 kB / 491.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.3571, allocations: 60.39 kB / 491.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.3572, allocations: 23.98 kB / 491.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005373/0.3577, allocations: 451 kB / 491.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3577, allocations: 0 / 491.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003134/0.3609, allocations: 1.189 MB / 492.8 MB, free: 7.871 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (V2.fluidState.phase,V3.fluidState.phase,V5.fluidState.phase,V4.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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 {(7,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004205/0.3651, allocations: 1.138 MB / 493.9 MB, free: 6.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.3679, allocations: 0.9494 MB / 494.9 MB, free: 5.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3679, allocations: 0 / 494.9 MB, free: 5.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.3692, allocations: 376.9 kB / 495.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.3715, allocations: 462.6 kB / 495.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.3742, allocations: 1.341 MB / 497 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.3746, allocations: 357.9 kB / 497.4 MB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001103/0.3757, allocations: 0.6599 MB / 498 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3758, allocations: 48.5 kB / 498.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3758, allocations: 0 / 498.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of Templates: time 0.07346/0.4493, allocations: 44.99 MB / 0.5303 GB, free: 5.742 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.01415796391666]