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.0009644/0.0009644, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001068/0.001068, allocations: 161 kB / 24.56 MB, free: 8 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.8668/0.8668, allocations: 158.6 MB / 186.4 MB, free: 2.918 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.1 MB, free: 10.65 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.864e-06/1.864e-06, allocations: 0 / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.279e-05, allocations: 9.828 kB / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.3271/0.3271, allocations: 153.3 MB / 0.4952 GB, free: 15.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008786/0.3359, allocations: 3.398 MB / 0.4985 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.3382, allocations: 45 kB / 0.4985 GB, free: 13.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.3393, allocations: 379.9 kB / 0.4989 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.3419, allocations: 1.478 MB / 0.5003 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.3454, allocations: 1.814 MB / 0.5021 GB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00479/0.3502, allocations: 4.374 MB / 0.5064 GB, free: 6.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.352, allocations: 1.145 MB / 0.5075 GB, free: 5.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003543/0.3556, allocations: 2.112 MB / 0.5096 GB, free: 3.199 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.3574, allocations: 1.324 MB / 0.5109 GB, free: 1.871 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005042/0.3579, allocations: 207.9 kB / 0.5111 GB, free: 1.668 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.3592, allocations: 0.5225 MB / 0.5116 GB, free: 1.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000742/0.36, allocations: 0.9857 MB / 0.5125 GB, free: 160 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.3613, allocations: 0.9824 MB / 0.5135 GB, free: 15.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.3647, allocations: 2.333 MB / 0.5158 GB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3647, allocations: 4 kB / 0.5158 GB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3647, allocations: 0 / 0.5158 GB, free: 12.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.707e-05/0.3648, allocations: 0 / 0.5158 GB, free: 12.83 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.003433/0.3682, allocations: 2.588 MB / 0.5183 GB, free: 10.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3682, allocations: 12.03 kB / 0.5183 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.3696, allocations: 0.6503 MB / 0.5189 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.3709, allocations: 1.025 MB / 0.5199 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/0.3709, allocations: 131.7 kB / 0.5201 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.3712, allocations: 196.6 kB / 0.5203 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.3738, allocations: 2.784 MB / 0.523 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.3739, allocations: 0 / 0.523 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.374, allocations: 76 kB / 0.5231 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.374, allocations: 40 kB / 0.5231 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.3752, allocations: 0.7942 MB / 0.5239 GB, free: 4.102 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.006083/0.3813, allocations: 4.087 MB / 0.5279 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.383, allocations: 0.9218 MB / 0.5288 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.3834, allocations: 253.8 kB / 0.529 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/0.3834, allocations: 39.92 kB / 0.529 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.3835, allocations: 57.39 kB / 0.5291 GB, free: 14.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.847e-06/0.3835, allocations: 3.938 kB / 0.5291 GB, free: 14.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=100): time 0.006231/0.3897, allocations: 2.424 MB / 0.5315 GB, free: 12.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3898, allocations: 114.8 kB / 0.5316 GB, free: 12.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009208/0.3907, allocations: 1.016 MB / 0.5326 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.3908, allocations: 57.7 kB / 0.5326 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.3913, allocations: 0.8972 MB / 0.5335 GB, free: 10.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.3915, allocations: 364.9 kB / 0.5338 GB, free: 9.695 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.3918, allocations: 273.1 kB / 0.5341 GB, free: 9.422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3919, allocations: 484.7 kB / 0.5346 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.3923, allocations: 247.5 kB / 0.5348 GB, free: 8.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.393, allocations: 0.8052 MB / 0.5356 GB, free: 7.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.3943, allocations: 1.089 MB / 0.5367 GB, free: 6.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.537e-06/0.3943, allocations: 4 kB / 0.5367 GB, free: 6.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001832/0.3961, allocations: 1.308 MB / 0.5379 GB, free: 4.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3961, allocations: 12.81 kB / 0.5379 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3961, allocations: 12 kB / 0.538 GB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004377/0.4005, allocations: 1.338 MB / 0.5393 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/0.4013, allocations: 319.5 kB / 0.5396 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.4047, allocations: 8.286 MB / 0.5477 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009741/0.4057, allocations: 213.7 kB / 0.5479 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.4058, allocations: 75.97 kB / 0.5479 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006445/0.4065, allocations: 366.7 kB / 0.5483 GB, free: 10.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006095/0.4071, allocations: 0.8161 MB / 0.5491 GB, free: 9.027 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001229/0.4083, allocations: 1.087 MB / 0.5501 GB, free: 7.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.033e-06/0.4083, allocations: 5.484 kB / 0.5501 GB, free: 7.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.001705/0.41, allocations: 1.234 MB / 0.5514 GB, free: 6.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.41, allocations: 12 kB / 0.5514 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.4101, allocations: 19.94 kB / 0.5514 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/0.4105, allocations: 183.3 kB / 0.5516 GB, free: 6.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008329/0.4113, allocations: 391.4 kB / 0.5519 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004592/0.4159, allocations: 10.67 MB / 0.5624 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.4169, allocations: 187.1 kB / 0.5625 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/0.417, allocations: 75.97 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.000466/0.4175, allocations: 355.7 kB / 0.5629 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.4178, allocations: 195 kB / 0.5631 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.4194, allocations: 1.008 MB / 0.5641 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4194, allocations: 12 kB / 0.5641 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4194, allocations: 256 / 0.5641 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.4194, allocations: 7.984 kB / 0.5641 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.4229, allocations: 2.475 MB / 0.5666 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4229, allocations: 4 kB / 0.5666 GB, free: 6.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.4233, allocations: 183.8 kB / 0.5667 GB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003627/0.4269, allocations: 1.061 MB / 0.5678 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/0.427, allocations: 35.97 kB / 0.5678 GB, free: 4.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/0.4307, allocations: 8.298 MB / 0.5759 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.4307, allocations: 7.938 kB / 0.5759 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.4326, allocations: 1.514 MB / 0.5774 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.4329, allocations: 158.8 kB / 0.5775 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4331, allocations: 24 kB / 0.5776 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007665/0.4338, allocations: 115.9 kB / 0.5777 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.434, allocations: 88.72 kB / 0.5778 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.4341, allocations: 87.91 kB / 0.5778 GB, free: 10.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005539/0.4346, allocations: 0.6042 MB / 0.5784 GB, free: 9.742 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4346, allocations: 0 / 0.5784 GB, free: 9.742 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002618/0.4372, allocations: 1.15 MB / 0.5796 GB, free: 8.59 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.0005302/0.4378, allocations: 267.7 kB / 0.5798 GB, free: 8.316 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003012/0.4408, allocations: 1.843 MB / 0.5816 GB, free: 6.445 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.4408, allocations: 5 kB / 0.5816 GB, free: 6.441 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006967/0.4415, allocations: 469 kB / 0.5821 GB, free: 5.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.4433, allocations: 0.6434 MB / 0.5827 GB, free: 5.344 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.4468, 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.000523/0.4473, allocations: 352.9 kB / 0.5857 GB, free: 2.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007542/0.4481, allocations: 245.6 kB / 0.586 GB, free: 1.848 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.4483, allocations: 100.5 kB / 0.5861 GB, free: 1.75 MB / 458.7 MB Notification: Performance of SimCode: time 2.034e-06/0.4483, allocations: 0 / 0.5861 GB, free: 1.75 MB / 458.7 MB Notification: Performance of Templates: time 0.2166/0.6649, allocations: 34.87 MB / 0.6201 GB, free: 101.8 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.858167223166674]