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.00208/0.00208, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002226/0.002226, allocations: 165.3 kB / 24.27 MB, free: 156 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.31/1.31, allocations: 158.6 MB / 186.1 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] 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.2721/0.2721, allocations: 36.33 MB / 274.7 MB, free: 10.71 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.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.563e-06/1.563e-06, allocations: 0 / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.89e-05, allocations: 5.688 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.1015/0.1015, allocations: 79.63 MB / 432.7 MB, free: 3.883 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2017/0.3032, allocations: 10.93 MB / 443.6 MB, free: 17.29 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008381/0.304, allocations: 35.72 kB / 443.7 MB, free: 17.29 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.3051, allocations: 387.8 kB / 444 MB, free: 17.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.3063, allocations: 0.5417 MB / 444.6 MB, free: 17.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01665/0.3229, allocations: 5.91 MB / 450.5 MB, free: 16.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.325, allocations: 1.432 MB / 451.9 MB, free: 16.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005302/0.3256, allocations: 356.2 kB / 452.3 MB, free: 16.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007799/0.3263, allocations: 0.6817 MB / 452.9 MB, free: 16.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.3269, allocations: 406.9 kB / 453.3 MB, free: 16.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.3269, allocations: 43.47 kB / 453.4 MB, free: 16.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.3378, allocations: 6.076 MB / 459.5 MB, free: 16.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.338, allocations: 132.6 kB / 459.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000591/0.3385, allocations: 271.1 kB / 459.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.3493, allocations: 5.091 MB / 465 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3493, allocations: 0 / 465 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3493, allocations: 0 / 465 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3493, allocations: 0 / 465 MB, free: 14.54 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.003673/0.353, allocations: 1.581 MB / 466.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3531, allocations: 12.5 kB / 466.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.3535, allocations: 187.3 kB / 466.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.3542, allocations: 498.5 kB / 467.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.3542, allocations: 40.47 kB / 467.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.3543, allocations: 49.28 kB / 467.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.3552, allocations: 0.6844 MB / 468 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3552, allocations: 384 / 468 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.3553, allocations: 27.34 kB / 468 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.3553, allocations: 12.53 kB / 468 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.356, allocations: 358.4 kB / 468.4 MB, free: 12.75 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.002517/0.3585, allocations: 3.708 MB / 472.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.3589, allocations: 219.5 kB / 472.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.359, allocations: 68.83 kB / 472.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05601/0.415, allocations: 16.8 MB / 489.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.415, allocations: 39.45 kB / 489.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.605e-06/0.415, allocations: 0 / 489.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001395/0.4164, allocations: 362 kB / 489.6 MB, free: 14.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.4165, allocations: 136.5 kB / 489.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.4173, allocations: 0.605 MB / 490.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.4173, allocations: 33.64 kB / 490.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.4177, allocations: 449 kB / 490.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.4181, allocations: 53.27 kB / 490.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4182, allocations: 59.53 kB / 490.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003276/0.4185, allocations: 0.5504 MB / 491.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.4186, allocations: 57.27 kB / 491.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.4188, allocations: 163.9 kB / 491.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.4192, allocations: 235.7 kB / 491.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4192, allocations: 0 / 491.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000517/0.4197, allocations: 280.3 kB / 492.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4197, allocations: 4 kB / 492.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4198, allocations: 7.938 kB / 492.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.4198, allocations: 4.25 kB / 492.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.4201, allocations: 59.23 kB / 492.2 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4201, allocations: 4 kB / 492.2 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.4204, allocations: 15.27 kB / 492.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.4205, allocations: 18.98 kB / 492.3 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002656/0.4207, allocations: 211.2 kB / 492.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002862/0.421, allocations: 247.7 kB / 492.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000389/0.4214, allocations: 306.8 kB / 493 MB, free: 11.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.4214, allocations: 4 kB / 493 MB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004634/0.4219, allocations: 276.4 kB / 493.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4219, allocations: 8 kB / 493.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.4219, allocations: 8 kB / 493.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.607e-06/0.4219, allocations: 7.938 kB / 493.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.4222, allocations: 57.28 kB / 493.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4222, allocations: 15.98 kB / 493.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.4224, allocations: 15.64 kB / 493.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.4225, allocations: 12 kB / 493.4 MB, free: 11.23 MB / 378.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 0.0002159/0.4227, allocations: 284.4 kB / 493.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.4229, allocations: 61.38 kB / 493.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005629/0.4234, allocations: 363.8 kB / 494.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4234, allocations: 4.375 kB / 494.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4234, allocations: 0 / 494.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4235, allocations: 7.984 kB / 494.1 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008469/0.4243, allocations: 0.5401 MB / 494.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.4243, allocations: 3.984 kB / 494.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.235e-05/0.4244, allocations: 23.17 kB / 494.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4244, allocations: 0 / 494.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4244, allocations: 4 kB / 494.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.4244, allocations: 7.125 kB / 494.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4244, allocations: 0 / 494.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.425, allocations: 0.6637 MB / 495.3 MB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.4251, allocations: 57.86 kB / 495.4 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4252, allocations: 35.11 kB / 495.4 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.4255, allocations: 3.938 kB / 495.4 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.4256, allocations: 11.98 kB / 495.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.4256, allocations: 7.688 kB / 495.5 MB, free: 9.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000774/0.4264, allocations: 0.6127 MB / 496.1 MB, free: 8.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4264, allocations: 0 / 496.1 MB, free: 8.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003727/0.4301, allocations: 1.108 MB / 497.2 MB, free: 7.824 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.003972/0.4341, allocations: 1.096 MB / 498.3 MB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005623/0.4346, allocations: 227.3 kB / 498.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4346, allocations: 8.062 kB / 498.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.4347, allocations: 44.59 kB / 498.5 MB, free: 6.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.4365, allocations: 303.9 kB / 498.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.4387, allocations: 1.11 MB / 500 MB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4391, allocations: 335.6 kB / 0.4886 GB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004932/0.4396, allocations: 250.7 kB / 0.4888 GB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.4397, allocations: 43.92 kB / 0.4888 GB, free: 4.629 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4397, allocations: 4 kB / 0.4888 GB, free: 4.625 MB / 378.7 MB Notification: Performance of Templates: time 0.06512/0.5048, allocations: 36.98 MB / 0.525 GB, free: 15.78 MB / 426.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.191388617036864]