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.0009245/0.0009245, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.000898/0.000898, allocations: 165 kB / 24.56 MB, free: 12 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 0.7839/0.7839, allocations: 158.6 MB / 186.4 MB, free: 2.91 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.1532/0.1532, allocations: 36.35 MB / 275.1 MB, free: 10.64 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.082e-06/1.082e-06, allocations: 0 / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.425e-05, allocations: 9.969 kB / 353.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.2563/0.2563, allocations: 153.3 MB / 0.4952 GB, free: 15.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004741/0.2611, allocations: 3.397 MB / 0.4985 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006686/0.2617, allocations: 47.72 kB / 0.4985 GB, free: 13.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007421/0.2625, allocations: 387.7 kB / 0.4989 GB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.2641, allocations: 1.476 MB / 0.5003 GB, free: 11.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.2664, allocations: 1.815 MB / 0.5021 GB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.2695, allocations: 4.359 MB / 0.5064 GB, free: 6.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.2706, allocations: 1.148 MB / 0.5075 GB, free: 5.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.2725, allocations: 2.116 MB / 0.5096 GB, free: 3.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.2736, allocations: 1.332 MB / 0.5109 GB, free: 1.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.2738, allocations: 200 kB / 0.5111 GB, free: 1.664 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008954/0.2747, allocations: 0.5303 MB / 0.5116 GB, free: 1.133 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005366/0.2752, allocations: 0.978 MB / 0.5125 GB, free: 156 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007716/0.276, allocations: 0.9785 MB / 0.5135 GB, free: 15.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.2779, allocations: 2.34 MB / 0.5158 GB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2779, allocations: 0 / 0.5158 GB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2779, allocations: 0 / 0.5158 GB, free: 12.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.2779, allocations: 0 / 0.5158 GB, free: 12.82 MB / 394.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.002554/0.2805, allocations: 2.588 MB / 0.5183 GB, free: 10.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2805, allocations: 8.031 kB / 0.5183 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.2823, allocations: 0.6543 MB / 0.5189 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.2837, allocations: 1.017 MB / 0.5199 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.2838, allocations: 139.6 kB / 0.5201 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.2841, allocations: 196.6 kB / 0.5203 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.287, allocations: 2.784 MB / 0.523 GB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.287, allocations: 4 kB / 0.523 GB, free: 5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.2872, allocations: 76 kB / 0.5231 GB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.2872, allocations: 40 kB / 0.5231 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.2887, allocations: 0.7903 MB / 0.5239 GB, free: 4.098 MB / 394.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.006426/0.2952, allocations: 4.075 MB / 0.5278 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.2972, allocations: 0.9313 MB / 0.5288 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.2976, allocations: 250.5 kB / 0.529 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.778e-05/0.2976, allocations: 31.95 kB / 0.529 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.2977, allocations: 66.56 kB / 0.5291 GB, free: 14.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.466e-06/0.2977, allocations: 0 / 0.5291 GB, free: 14.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=100): time 0.007146/0.3048, allocations: 2.424 MB / 0.5315 GB, free: 12.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.3049, allocations: 118.8 kB / 0.5316 GB, free: 12.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3059, allocations: 1.02 MB / 0.5326 GB, free: 11.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.306, allocations: 49.7 kB / 0.5326 GB, free: 10.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005156/0.3065, allocations: 0.9089 MB / 0.5335 GB, free: 10.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.3068, allocations: 360.9 kB / 0.5338 GB, free: 9.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/0.3071, allocations: 277.1 kB / 0.5341 GB, free: 9.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3072, allocations: 476.8 kB / 0.5346 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.3077, allocations: 247.5 kB / 0.5348 GB, free: 8.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007842/0.3085, allocations: 0.8013 MB / 0.5356 GB, free: 7.652 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.3098, allocations: 1.1 MB / 0.5367 GB, free: 6.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.3098, allocations: 4 kB / 0.5367 GB, free: 6.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002239/0.3121, allocations: 1.308 MB / 0.5379 GB, free: 4.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3121, allocations: 11.98 kB / 0.5379 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.3121, allocations: 16 kB / 0.538 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00545/0.3176, allocations: 1.334 MB / 0.5393 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.3185, allocations: 319.5 kB / 0.5396 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/0.322, allocations: 8.278 MB / 0.5477 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.323, allocations: 213.8 kB / 0.5479 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.3232, allocations: 79.95 kB / 0.5479 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006998/0.3239, allocations: 366.7 kB / 0.5483 GB, free: 10.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007498/0.3246, allocations: 0.8199 MB / 0.5491 GB, free: 9.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001209/0.3258, allocations: 1.087 MB / 0.5501 GB, free: 7.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.138e-06/0.3258, allocations: 5.406 kB / 0.5501 GB, free: 7.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002026/0.3279, allocations: 1.23 MB / 0.5514 GB, free: 6.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3279, allocations: 12 kB / 0.5514 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3279, allocations: 15.94 kB / 0.5514 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/0.3284, allocations: 183.3 kB / 0.5516 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3294, allocations: 391.4 kB / 0.5519 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.3342, allocations: 10.68 MB / 0.5624 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.3355, allocations: 183.1 kB / 0.5625 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.3356, allocations: 71.98 kB / 0.5626 GB, free: 10.46 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.0003902/0.3359, allocations: 367.6 kB / 0.5629 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/0.3363, allocations: 183.1 kB / 0.5631 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.3382, allocations: 1.016 MB / 0.5641 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3382, allocations: 12 kB / 0.5641 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3382, allocations: 256 / 0.5641 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3382, allocations: 7.969 kB / 0.5641 GB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.3418, allocations: 2.463 MB / 0.5665 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3418, allocations: 8.062 kB / 0.5665 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.3423, allocations: 187.8 kB / 0.5667 GB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003921/0.3463, allocations: 1.061 MB / 0.5678 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.3463, allocations: 35.98 kB / 0.5678 GB, free: 4.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.3491, allocations: 8.298 MB / 0.5759 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3491, allocations: 11.88 kB / 0.5759 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.3509, allocations: 1.51 MB / 0.5774 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.3511, allocations: 166.8 kB / 0.5775 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.3512, allocations: 24 kB / 0.5776 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/0.3519, allocations: 107.9 kB / 0.5777 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.352, allocations: 100.7 kB / 0.5778 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.319e-05/0.3521, allocations: 79.91 kB / 0.5778 GB, free: 10.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004773/0.3526, allocations: 0.6081 MB / 0.5784 GB, free: 9.734 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3526, allocations: 0 / 0.5784 GB, free: 9.734 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001809/0.3544, allocations: 1.146 MB / 0.5796 GB, free: 8.586 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.0004321/0.3548, allocations: 275.7 kB / 0.5798 GB, free: 8.305 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002534/0.3573, allocations: 1.832 MB / 0.5816 GB, free: 6.445 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3573, allocations: 5 kB / 0.5816 GB, free: 6.441 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.358, allocations: 477 kB / 0.5821 GB, free: 5.973 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.3596, allocations: 0.6403 MB / 0.5827 GB, free: 5.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.3632, allocations: 2.775 MB / 0.5854 GB, free: 2.457 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.3634, allocations: 352.9 kB / 0.5857 GB, free: 2.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006943/0.3641, allocations: 253.5 kB / 0.586 GB, free: 1.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.3643, allocations: 92.48 kB / 0.5861 GB, free: 1.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3643, allocations: 0 / 0.5861 GB, free: 1.75 MB / 458.7 MB Notification: Performance of Templates: time 0.1774/0.5417, allocations: 37.71 MB / 0.6229 GB, free: 100.4 MB / 474.7 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.489160778000951]