Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001455/0.001455, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001568/0.001568, allocations: 165.7 kB / 24.27 MB, free: 144 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.37/1.37, 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.3141/0.3141, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.186e-05, allocations: 5.688 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.09693/0.09695, allocations: 70.52 MB / 423.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.1145, allocations: 9.881 MB / 433.5 MB, free: 3.098 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1156, allocations: 31.62 kB / 433.5 MB, free: 3.066 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.1171, allocations: 397 kB / 433.9 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.1191, allocations: 0.539 MB / 434.4 MB, free: 2.133 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1976/0.3166, allocations: 5.898 MB / 440.3 MB, free: 17.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.3184, allocations: 1.439 MB / 441.8 MB, free: 17.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.3188, allocations: 344.9 kB / 442.1 MB, free: 17.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008103/0.3197, allocations: 0.6783 MB / 442.8 MB, free: 17.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005277/0.3202, allocations: 402.4 kB / 443.2 MB, free: 17.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/0.3203, allocations: 45.88 kB / 443.2 MB, free: 17.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.3309, allocations: 6.081 MB / 449.3 MB, free: 17.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.331, allocations: 135.3 kB / 449.4 MB, free: 17.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.3315, allocations: 268.5 kB / 449.7 MB, free: 17.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007597/0.3391, allocations: 5.089 MB / 454.8 MB, free: 16.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3391, allocations: 0 / 454.8 MB, free: 16.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3391, allocations: 0 / 454.8 MB, free: 16.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3391, allocations: 3.281 kB / 454.8 MB, free: 16.96 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002972/0.3421, allocations: 1.441 MB / 456.2 MB, free: 16.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3421, allocations: 11.5 kB / 456.2 MB, free: 16.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.3425, allocations: 191.1 kB / 456.4 MB, free: 16.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.3432, allocations: 488.7 kB / 456.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.3433, allocations: 39.5 kB / 456.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.3433, allocations: 52.97 kB / 457 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.3443, allocations: 0.6077 MB / 457.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3443, allocations: 4.031 kB / 457.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.3443, allocations: 25.25 kB / 457.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3443, allocations: 14.38 kB / 457.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.345, allocations: 361.4 kB / 458 MB, free: 15.7 MB / 362.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.002192/0.3472, allocations: 2.634 MB / 460.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.3476, allocations: 184.3 kB / 460.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.3477, allocations: 53.83 kB / 460.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05383/0.4015, allocations: 16.81 MB / 477.7 MB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.4016, allocations: 37.92 kB / 477.7 MB, free: 4.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.216e-06/0.4016, allocations: 4 kB / 477.7 MB, free: 4.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001258/0.4029, allocations: 362.8 kB / 478.1 MB, free: 4.602 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.4029, allocations: 132.5 kB / 478.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.4034, allocations: 493 kB / 478.7 MB, free: 4.059 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4034, allocations: 29.7 kB / 478.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.4036, allocations: 382.3 kB / 479.1 MB, free: 3.766 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.4036, allocations: 46.56 kB / 479.1 MB, free: 3.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.4037, allocations: 56.64 kB / 479.2 MB, free: 3.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.4038, allocations: 356.6 kB / 479.5 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.846e-05/0.4039, allocations: 57.44 kB / 479.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.404, allocations: 133 kB / 479.7 MB, free: 3.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.4042, allocations: 193.5 kB / 479.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4042, allocations: 0 / 479.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004145/0.4046, allocations: 271.5 kB / 480.2 MB, free: 2.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4047, allocations: 8 kB / 480.2 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4047, allocations: 11.88 kB / 480.2 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.4047, allocations: 4 kB / 480.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.405, allocations: 58.36 kB / 480.2 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.405, allocations: 4 kB / 480.2 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.4053, allocations: 15.7 kB / 480.3 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.4053, allocations: 15.61 kB / 480.3 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000209/0.4055, allocations: 162 kB / 480.4 MB, free: 2.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001195/0.4057, allocations: 185.1 kB / 480.6 MB, free: 2.344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001906/0.4059, allocations: 235.8 kB / 480.8 MB, free: 2.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.4059, allocations: 8 kB / 480.8 MB, free: 2.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003575/0.4062, allocations: 286.6 kB / 481.1 MB, free: 1.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.4062, allocations: 4 kB / 481.1 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4062, allocations: 8 kB / 481.1 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/0.4062, allocations: 11.88 kB / 481.2 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.4065, allocations: 54.59 kB / 481.2 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4065, allocations: 18.25 kB / 481.2 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.4067, allocations: 15.64 kB / 481.2 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.4067, allocations: 12 kB / 481.2 MB, free: 1.777 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.865e-05/0.4068, allocations: 196.5 kB / 481.4 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.407, allocations: 59.67 kB / 481.5 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.4075, allocations: 0.5359 MB / 482 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4075, allocations: 0 / 482 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4075, allocations: 3.984 kB / 482 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4075, allocations: 4 kB / 482 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/0.4081, allocations: 463.5 kB / 482.5 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4081, allocations: 4 kB / 482.5 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.4082, allocations: 23.61 kB / 482.5 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4082, allocations: 0 / 482.5 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4082, allocations: 3.984 kB / 482.5 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4082, allocations: 7.938 kB / 482.5 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4082, allocations: 7.281 kB / 482.5 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.4085, allocations: 494 kB / 483 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.4085, allocations: 42.05 kB / 483.1 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/0.4086, allocations: 37.84 kB / 483.1 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.4089, allocations: 7.938 kB / 483.1 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.409, allocations: 14.27 kB / 483.1 MB, free: 136 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.409, allocations: 6.938 kB / 483.1 MB, free: 132 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006873/0.4097, allocations: 0.5581 MB / 483.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4097, allocations: 0 / 483.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003916/0.4136, allocations: 1.107 MB / 484.8 MB, free: 14.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.004738/0.4183, allocations: 1.101 MB / 485.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005053/0.4188, allocations: 203.4 kB / 486.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4188, allocations: 1.875 kB / 486.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.612e-05/0.4189, allocations: 32.02 kB / 486.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.4207, allocations: 313.4 kB / 486.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.4226, allocations: 1.089 MB / 487.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.423, allocations: 338.7 kB / 487.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004825/0.4235, allocations: 254.4 kB / 488.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.4236, allocations: 43.92 kB / 488.1 MB, free: 11.53 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4236, allocations: 0 / 488.1 MB, free: 11.53 MB / 378.7 MB Notification: Performance of Templates: time 0.06328/0.4868, allocations: 36.36 MB / 0.5122 GB, free: 7.312 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.420790645061061]