Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.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.001075/0.001075, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001401/0.001401, allocations: 172.7 kB / 24.91 MB, free: 9.195 MB / 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 0.9267/0.9267, allocations: 158.6 MB / 186.8 MB, free: 2.777 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.1794/0.1794, allocations: 36.34 MB / 275.4 MB, free: 10.55 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.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.543e-05, allocations: 2.312 kB / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.1328/0.1328, allocations: 152.6 MB / 457.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007337/0.1402, allocations: 3.499 MB / 461.3 MB, free: 7.398 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.1414, allocations: 43.62 kB / 461.4 MB, free: 7.355 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009306/0.1424, allocations: 380.8 kB / 461.7 MB, free: 6.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.1447, allocations: 1.475 MB / 463.2 MB, free: 5.496 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.148, allocations: 1.848 MB / 465.1 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1715/0.3196, allocations: 4.355 MB / 469.4 MB, free: 7.453 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.322, allocations: 1.142 MB / 470.5 MB, free: 7.336 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005042/0.327, allocations: 2.098 MB / 472.6 MB, free: 7.336 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.3301, allocations: 1.263 MB / 473.9 MB, free: 7.336 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007103/0.3308, allocations: 202.1 kB / 474.1 MB, free: 7.336 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.3326, allocations: 0.545 MB / 474.7 MB, free: 7.336 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008728/0.3335, allocations: 0.9704 MB / 475.6 MB, free: 7.336 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.3353, allocations: 0.9852 MB / 476.6 MB, free: 7.336 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.3387, allocations: 2.334 MB / 478.9 MB, free: 7.223 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3387, allocations: 0 / 478.9 MB, free: 7.223 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.3387, allocations: 0 / 478.9 MB, free: 7.223 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.552e-05/0.3388, allocations: 1.719 kB / 478.9 MB, free: 7.223 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.003199/0.342, allocations: 2.406 MB / 481.3 MB, free: 6.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.342, allocations: 8.5 kB / 481.4 MB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.3433, allocations: 0.5895 MB / 481.9 MB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.3444, allocations: 0.8337 MB / 482.8 MB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/0.3445, allocations: 135 kB / 482.9 MB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.3446, allocations: 195.3 kB / 483.1 MB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.3465, allocations: 2.67 MB / 485.8 MB, free: 20.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.3465, allocations: 3.938 kB / 485.8 MB, free: 20.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.3466, allocations: 75.53 kB / 485.9 MB, free: 20.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.3467, allocations: 42.09 kB / 485.9 MB, free: 20.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.3473, allocations: 0.5511 MB / 486.4 MB, free: 19.96 MB / 442.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.004612/0.3519, allocations: 3.139 MB / 489.6 MB, free: 19.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.3532, allocations: 0.9188 MB / 490.5 MB, free: 19.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.3533, allocations: 184.4 kB / 490.7 MB, free: 19.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.3534, allocations: 32.16 kB / 490.7 MB, free: 19.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.3534, allocations: 58.38 kB / 490.8 MB, free: 18.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 2.736e-06/0.3534, allocations: 0.75 kB / 490.8 MB, free: 18.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.00451/0.358, allocations: 2.109 MB / 492.9 MB, free: 18.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.358, allocations: 115.4 kB / 493 MB, free: 18.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.3586, allocations: 0.9214 MB / 493.9 MB, free: 18.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.923e-05/0.3587, allocations: 60.86 kB / 494 MB, free: 18.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.3589, allocations: 0.7162 MB / 494.7 MB, free: 18.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3591, allocations: 362.7 kB / 495 MB, free: 17.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.3593, allocations: 275.1 kB / 495.3 MB, free: 17.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.3594, allocations: 304.6 kB / 495.6 MB, free: 17.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.3596, allocations: 170.3 kB / 495.8 MB, free: 17.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.3599, allocations: 0.5795 MB / 496.4 MB, free: 17.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.3606, allocations: 0.8882 MB / 497.2 MB, free: 16.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.3606, allocations: 6.719 kB / 497.3 MB, free: 16.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001181/0.3618, allocations: 0.9549 MB / 498.2 MB, free: 16.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3618, allocations: 11.53 kB / 498.2 MB, free: 16.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.3618, allocations: 19.59 kB / 498.2 MB, free: 16.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003647/0.3655, allocations: 1.275 MB / 499.5 MB, free: 16.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.3662, allocations: 305 kB / 499.8 MB, free: 16.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.3686, allocations: 5.466 MB / 0.4934 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.3696, allocations: 178.7 kB / 0.4936 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.3697, allocations: 70.03 kB / 0.4937 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005932/0.3703, allocations: 258.4 kB / 0.4939 GB, free: 11.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003338/0.3706, allocations: 0.5867 MB / 0.4945 GB, free: 10.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006274/0.3712, allocations: 0.8918 MB / 0.4954 GB, free: 9.961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.686e-06/0.3713, allocations: 2.906 kB / 0.4954 GB, free: 9.961 MB / 442.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.001099/0.3724, allocations: 0.9408 MB / 0.4963 GB, free: 9.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3724, allocations: 14.81 kB / 0.4963 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3724, allocations: 12.22 kB / 0.4963 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/0.3727, allocations: 171.5 kB / 0.4965 GB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.3735, allocations: 381 kB / 0.4968 GB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.3769, allocations: 7.104 MB / 0.5038 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/0.3779, allocations: 159.4 kB / 0.5039 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/0.3779, allocations: 67.19 kB / 0.504 GB, free: 3.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 initialization (142): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(2,18), (2,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0004937/0.3784, allocations: 271.6 kB / 0.5042 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.3786, allocations: 128.8 kB / 0.5044 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.3798, allocations: 0.7825 MB / 0.5051 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.3798, allocations: 11.03 kB / 0.5051 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3798, allocations: 3.469 kB / 0.5051 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3798, allocations: 6.828 kB / 0.5052 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.3822, allocations: 1.869 MB / 0.507 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3822, allocations: 7.125 kB / 0.507 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.3826, allocations: 175.4 kB / 0.5072 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002809/0.3854, allocations: 1.01 MB / 0.5081 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.3854, allocations: 33.84 kB / 0.5082 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.3876, allocations: 5.478 MB / 0.5135 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3876, allocations: 5.906 kB / 0.5135 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.3889, allocations: 1.184 MB / 0.5147 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.3891, allocations: 145.7 kB / 0.5148 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.3892, allocations: 24.03 kB / 0.5148 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/0.3899, allocations: 99.58 kB / 0.5149 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.39, allocations: 95.64 kB / 0.515 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.3901, allocations: 66.83 kB / 0.5151 GB, free: 12.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003481/0.3905, allocations: 449.5 kB / 0.5155 GB, free: 12.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3905, allocations: 0 / 0.5155 GB, free: 12.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002175/0.3926, allocations: 1.152 MB / 0.5166 GB, free: 12.01 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(2,20), (2,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006029/0.3932, allocations: 241.1 kB / 0.5169 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.3959, allocations: 1.498 MB / 0.5183 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.003e-05/0.3959, allocations: 19.34 kB / 0.5184 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006828/0.3966, allocations: 395.8 kB / 0.5187 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.3987, allocations: 0.6259 MB / 0.5193 GB, free: 11.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.4026, allocations: 2.745 MB / 0.522 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4029, allocations: 347.6 kB / 0.5224 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009696/0.4039, allocations: 251.4 kB / 0.5226 GB, free: 9.992 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/0.4055, allocations: 0.6105 MB / 0.5232 GB, free: 9.922 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4055, allocations: 0 / 0.5232 GB, free: 9.922 MB / 458.7 MB Notification: Performance of Templates: time 0.04719/0.4526, allocations: 37.65 MB / 0.56 GB, free: 11.91 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.566585281863809]