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.001099/0.001099, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001737/0.001737, allocations: 166.9 kB / 24.91 MB, free: 9.152 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.9588/0.9588, allocations: 158.6 MB / 186.8 MB, free: 2.742 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.1994/0.1994, allocations: 36.34 MB / 275.4 MB, free: 10.54 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.332e-06/1.332e-06, allocations: 0 / 305.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.458e-05, allocations: 4.281 kB / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.1463/0.1464, allocations: 152.5 MB / 457.7 MB, free: 11.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008807/0.1552, allocations: 3.495 MB / 461.2 MB, free: 7.516 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.1573, allocations: 47.56 kB / 461.3 MB, free: 7.469 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.1588, allocations: 384.8 kB / 461.6 MB, free: 7.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004392/0.1632, allocations: 1.482 MB / 463.1 MB, free: 5.598 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005178/0.1683, allocations: 1.812 MB / 464.9 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.2223/0.3907, allocations: 4.351 MB / 469.3 MB, free: 7.457 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/0.3929, allocations: 1.164 MB / 470.5 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004162/0.397, allocations: 2.114 MB / 472.6 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.3994, allocations: 1.265 MB / 473.8 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005632/0.4, allocations: 202.7 kB / 474 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.4015, allocations: 0.5286 MB / 474.6 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000779/0.4023, allocations: 0.9749 MB / 475.5 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.4038, allocations: 0.9774 MB / 476.5 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.407, allocations: 2.335 MB / 478.8 MB, free: 7.227 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.407, allocations: 0.7188 kB / 478.8 MB, free: 7.227 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.407, allocations: 0 / 478.8 MB, free: 7.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.864e-05/0.4071, allocations: 3.562 kB / 478.8 MB, free: 7.227 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.003009/0.4101, allocations: 2.407 MB / 481.3 MB, free: 6.223 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4101, allocations: 8.656 kB / 481.3 MB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.4113, allocations: 0.5927 MB / 481.9 MB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/0.4123, allocations: 0.8263 MB / 482.7 MB, free: 5.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/0.4123, allocations: 136.2 kB / 482.8 MB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.4125, allocations: 198.8 kB / 483 MB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.4144, allocations: 2.675 MB / 485.7 MB, free: 20.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.4144, allocations: 4.844 kB / 485.7 MB, free: 20.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.4145, allocations: 76.78 kB / 485.8 MB, free: 20.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.4146, allocations: 39.88 kB / 485.8 MB, free: 20.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/0.4152, allocations: 0.5501 MB / 486.4 MB, free: 19.97 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.004484/0.4197, allocations: 3.133 MB / 489.5 MB, free: 19.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.4209, allocations: 0.9199 MB / 490.4 MB, free: 19.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.4211, allocations: 190.6 kB / 490.6 MB, free: 19.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.4212, allocations: 33.95 kB / 490.6 MB, free: 19.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4212, allocations: 59.06 kB / 490.7 MB, free: 18.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 2.024e-06/0.4212, allocations: 0 / 490.7 MB, free: 18.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.005047/0.4262, allocations: 2.104 MB / 492.8 MB, free: 18.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4263, allocations: 115.7 kB / 492.9 MB, free: 18.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.4271, allocations: 0.9234 MB / 493.8 MB, free: 18.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.4273, allocations: 54.64 kB / 493.9 MB, free: 18.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.4276, allocations: 0.7189 MB / 494.6 MB, free: 18.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.4278, allocations: 362.2 kB / 495 MB, free: 17.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.428, allocations: 278.2 kB / 495.2 MB, free: 17.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.4281, allocations: 302.2 kB / 495.5 MB, free: 17.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.4284, allocations: 167.5 kB / 495.7 MB, free: 17.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.4287, allocations: 0.5752 MB / 496.3 MB, free: 17.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.4294, allocations: 0.8944 MB / 497.2 MB, free: 16.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.4294, allocations: 2.75 kB / 497.2 MB, free: 16.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001241/0.4307, allocations: 0.9589 MB / 498.1 MB, free: 16.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.4307, allocations: 11.06 kB / 498.1 MB, free: 16.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.4307, allocations: 16.16 kB / 498.1 MB, free: 16.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0037/0.4344, allocations: 1.276 MB / 499.4 MB, free: 16.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.4351, allocations: 288.5 kB / 499.7 MB, free: 16.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.4376, allocations: 5.464 MB / 0.4933 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.4386, allocations: 178.8 kB / 0.4935 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.935e-05/0.4387, allocations: 71.38 kB / 0.4936 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005846/0.4393, allocations: 255.7 kB / 0.4938 GB, free: 11.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003752/0.4397, allocations: 0.5883 MB / 0.4944 GB, free: 10.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007384/0.4404, allocations: 0.8896 MB / 0.4952 GB, free: 9.965 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.406e-06/0.4404, allocations: 6.125 kB / 0.4953 GB, free: 9.965 MB / 442.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.001287/0.4417, allocations: 0.9377 MB / 0.4962 GB, free: 9.828 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4418, allocations: 15.16 kB / 0.4962 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.4418, allocations: 15.97 kB / 0.4962 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.4422, allocations: 169.7 kB / 0.4964 GB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.443, allocations: 363.7 kB / 0.4967 GB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/0.4465, allocations: 7.101 MB / 0.5036 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.4478, allocations: 159.6 kB / 0.5038 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.37e-05/0.4479, allocations: 62.56 kB / 0.5039 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.0005155/0.4484, allocations: 277.5 kB / 0.5041 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.4486, allocations: 126.1 kB / 0.5042 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.45, allocations: 0.78 MB / 0.505 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.45, allocations: 10.91 kB / 0.505 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.45, allocations: 5 kB / 0.505 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.45, allocations: 6.328 kB / 0.505 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.4529, allocations: 1.875 MB / 0.5069 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.4529, allocations: 3.469 kB / 0.5069 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.4533, allocations: 169.2 kB / 0.507 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/0.4562, allocations: 1.013 MB / 0.508 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.042e-05/0.4563, allocations: 31.06 kB / 0.508 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.4587, allocations: 5.478 MB / 0.5134 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4587, allocations: 6.625 kB / 0.5134 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.4602, allocations: 1.183 MB / 0.5145 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.4605, allocations: 152.1 kB / 0.5147 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.4606, allocations: 24.14 kB / 0.5147 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007472/0.4614, allocations: 98.67 kB / 0.5148 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.4615, allocations: 95.23 kB / 0.5149 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.4616, allocations: 65.64 kB / 0.515 GB, free: 12.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004083/0.462, allocations: 447.6 kB / 0.5154 GB, free: 12.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.462, allocations: 0.625 kB / 0.5154 GB, free: 12.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002239/0.4643, allocations: 1.147 MB / 0.5165 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.0005076/0.4648, allocations: 250.5 kB / 0.5167 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.4672, allocations: 1.495 MB / 0.5182 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-05/0.4672, allocations: 19.31 kB / 0.5182 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.4678, allocations: 395.6 kB / 0.5186 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.001906/0.4697, allocations: 0.6225 MB / 0.5192 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.4736, allocations: 2.736 MB / 0.5219 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.4739, allocations: 353.6 kB / 0.5222 GB, free: 10.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00105/0.475, allocations: 253.1 kB / 0.5225 GB, free: 9.984 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.4763, allocations: 0.6144 MB / 0.5231 GB, free: 9.914 MB / 458.7 MB Notification: Performance of SimCode: time 2.154e-06/0.4763, allocations: 3.094 kB / 0.5231 GB, free: 9.914 MB / 458.7 MB Notification: Performance of Templates: time 0.05128/0.5276, allocations: 37.63 MB / 0.5598 GB, free: 12.06 MB / 490.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.8975839908234775]