Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.002052/0.002052, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002121/0.002121, 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.373/1.373, allocations: 158.6 MB / 186.1 MB, free: 2.902 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.2826/0.2826, allocations: 36.34 MB / 274.7 MB, free: 10.7 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.833e-05/4.081e-05, allocations: 5.688 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.0924/0.09244, allocations: 72.69 MB / 425.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2041/0.2965, allocations: 11.77 MB / 437.5 MB, free: 17.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008647/0.2974, allocations: 30.56 kB / 437.6 MB, free: 17.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.2985, allocations: 388.6 kB / 437.9 MB, free: 17.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.2998, allocations: 0.5509 MB / 438.5 MB, free: 17.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0149/0.3147, allocations: 5.599 MB / 444.1 MB, free: 17.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.317, allocations: 1.428 MB / 445.5 MB, free: 16.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008683/0.3178, allocations: 0.5101 MB / 446 MB, free: 16.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.3191, allocations: 0.7557 MB / 446.8 MB, free: 16.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007969/0.3199, allocations: 0.5098 MB / 447.3 MB, free: 16.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.32, allocations: 62.94 kB / 447.4 MB, free: 16.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/0.3328, allocations: 6.192 MB / 453.5 MB, free: 16.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.3331, allocations: 176.4 kB / 453.7 MB, free: 16.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007493/0.3338, allocations: 313.3 kB / 454 MB, free: 16.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.3462, allocations: 5.369 MB / 459.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3463, allocations: 0 / 459.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3463, allocations: 0 / 459.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.3463, allocations: 0 / 459.4 MB, free: 15.38 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.005957/0.3522, allocations: 1.718 MB / 461.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3523, allocations: 9.062 kB / 461.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006824/0.3529, allocations: 214.4 kB / 461.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/0.3538, allocations: 0.5373 MB / 461.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.3538, allocations: 40.44 kB / 461.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.574e-05/0.3539, allocations: 47.16 kB / 462 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.3556, allocations: 0.9055 MB / 462.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3556, allocations: 5.156 kB / 462.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.3556, allocations: 27 kB / 462.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3557, allocations: 12.81 kB / 462.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.3574, allocations: 0.8959 MB / 463.8 MB, free: 13.39 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.002956/0.3604, allocations: 2.796 MB / 466.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008591/0.3612, allocations: 372 kB / 467 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.3615, allocations: 189.9 kB / 467.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05403/0.4156, allocations: 16.82 MB / 484 MB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4156, allocations: 39.83 kB / 484 MB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006289/0.4162, allocations: 96.09 kB / 484.1 MB, free: 1.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.855e-06/0.4162, allocations: 0 / 484.1 MB, free: 1.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.007615/0.4238, allocations: 1.618 MB / 485.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.4239, allocations: 51.41 kB / 485.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000769/0.4247, allocations: 0.6088 MB / 486.4 MB, free: 15.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.4247, allocations: 29.27 kB / 486.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.425, allocations: 437.1 kB / 486.8 MB, free: 14.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.4251, allocations: 113.2 kB / 486.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.4253, allocations: 99.22 kB / 487 MB, free: 14.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003149/0.4256, allocations: 0.5588 MB / 487.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.426, allocations: 150 kB / 487.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.4264, allocations: 216 kB / 487.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007634/0.4271, allocations: 395.5 kB / 488.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4271, allocations: 0 / 488.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001455/0.4286, allocations: 0.6062 MB / 488.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4286, allocations: 4 kB / 488.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4286, allocations: 4 kB / 488.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007873/0.4365, allocations: 1.084 MB / 490 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.4367, allocations: 38.77 kB / 490.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.4389, allocations: 1.242 MB / 491.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.4395, allocations: 23.36 kB / 491.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.4395, allocations: 16.98 kB / 491.3 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005426/0.44, allocations: 303.3 kB / 491.6 MB, free: 10.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004262/0.4405, allocations: 238.7 kB / 491.9 MB, free: 10.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007182/0.4412, allocations: 377.3 kB / 492.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.448e-06/0.4412, allocations: 4 kB / 492.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.001248/0.4424, allocations: 0.5011 MB / 492.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4425, allocations: 11.94 kB / 492.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4425, allocations: 0 / 492.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004038/0.4429, allocations: 89.88 kB / 492.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.4433, allocations: 79.38 kB / 492.9 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.4453, allocations: 1.967 MB / 494.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.4457, allocations: 18.73 kB / 494.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.4458, allocations: 23.2 kB / 494.9 MB, free: 7.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * 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.0002618/0.446, allocations: 292.6 kB / 495.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.4462, allocations: 65.69 kB / 495.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.4486, allocations: 1.326 MB / 496.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.4486, allocations: 20.22 kB / 496.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.4486, allocations: 0 / 496.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4486, allocations: 11.92 kB / 496.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009702/0.4496, allocations: 0.696 MB / 497.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4496, allocations: 0 / 497.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.4497, allocations: 34.84 kB / 497.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/0.4533, allocations: 1.184 MB / 498.6 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.4533, allocations: 14.67 kB / 498.6 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.4557, allocations: 1.768 MB / 0.4886 GB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4557, allocations: 4 kB / 0.4886 GB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.4578, allocations: 1.281 MB / 0.4899 GB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.4579, allocations: 91.14 kB / 0.49 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/0.458, allocations: 11.98 kB / 0.49 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.4584, allocations: 16 kB / 0.49 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.4585, allocations: 36.42 kB / 0.49 GB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.4585, allocations: 19.98 kB / 0.49 GB, free: 1.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005176/0.459, allocations: 410.8 kB / 0.4904 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.459, allocations: 0 / 0.4904 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003695/0.4627, allocations: 1.13 MB / 0.4915 GB, free: 15.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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 {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003952/0.4667, allocations: 1.117 MB / 0.4926 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.4695, allocations: 0.8683 MB / 0.4935 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4695, allocations: 4 kB / 0.4935 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000918/0.4705, allocations: 373.9 kB / 0.4938 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.4723, allocations: 326.5 kB / 0.4941 GB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.475, allocations: 1.537 MB / 0.4956 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.4754, allocations: 401.1 kB / 0.496 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004933/0.4759, allocations: 251.5 kB / 0.4963 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.476, allocations: 40.5 kB / 0.4963 GB, free: 10.76 MB / 394.7 MB Notification: Performance of SimCode: time 1.914e-06/0.476, allocations: 0 / 0.4963 GB, free: 10.76 MB / 394.7 MB Notification: Performance of Templates: time 0.07188/0.5479, allocations: 42.01 MB / 0.5373 GB, free: 0.8477 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.757766849012114]