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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 113.6 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3215/0.3215, allocations: 48.84 MB / 320.7 MB, free: 11.04 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 73.98 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 59.16 MB / 450.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5488/0.661, allocations: 251.7 MB / 0.6859 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.6711, allocations: 4.811 MB / 0.6906 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.6735, allocations: 31.81 kB / 0.6906 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.6767, allocations: 1.025 MB / 0.6916 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004904/0.6817, allocations: 1.414 MB / 0.693 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007516/0.6892, allocations: 2.478 MB / 0.6954 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007536/0.6968, allocations: 4.371 MB / 0.6997 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/0.6995, allocations: 1.338 MB / 0.701 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/0.703, allocations: 1.612 MB / 0.7026 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.7054, allocations: 1.463 MB / 0.704 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004389/0.7058, allocations: 208 kB / 0.7042 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.71, allocations: 1.68 MB / 0.7058 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009326/0.711, allocations: 0.9234 MB / 0.7068 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.7126, allocations: 1.303 MB / 0.708 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005048/0.7177, allocations: 3.482 MB / 0.7114 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7177, allocations: 7.984 kB / 0.7114 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7177, allocations: 0 / 0.7114 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.498e-05/0.7178, allocations: 0 / 0.7114 GB, free: 14.71 MB / 0.5294 GB 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.00523/0.723, allocations: 2.626 MB / 0.714 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.7231, allocations: 11.89 kB / 0.714 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.725, allocations: 391 kB / 0.7144 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.727, allocations: 1.065 MB / 0.7154 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.7271, allocations: 139.3 kB / 0.7156 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.7273, allocations: 175.9 kB / 0.7157 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/0.731, allocations: 2.11 MB / 0.7178 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.7311, allocations: 0 / 0.7178 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.7313, allocations: 79.98 kB / 0.7179 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.7313, allocations: 40 kB / 0.7179 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.7348, allocations: 1.807 MB / 0.7197 GB, free: 6.133 MB / 0.5294 GB 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.01262/0.7475, allocations: 7.213 MB / 0.7267 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004109/0.7516, allocations: 1.442 MB / 0.7281 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.7527, allocations: 0.5068 MB / 0.7286 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.7528, allocations: 35.88 kB / 0.7286 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.99e-05/0.7529, allocations: 62.52 kB / 0.7287 GB, free: 12.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 3.136e-06/0.7529, allocations: 0 / 0.7287 GB, free: 12.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=100): time 0.01336/0.7662, allocations: 3.568 MB / 0.7322 GB, free: 8.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.7664, allocations: 114.8 kB / 0.7323 GB, free: 8.523 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.769, allocations: 1.855 MB / 0.7341 GB, free: 6.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002754/0.7692, allocations: 53.7 kB / 0.7342 GB, free: 6.562 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006834/0.7699, allocations: 0.8109 MB / 0.7349 GB, free: 5.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/0.7703, allocations: 347 kB / 0.7353 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000433/0.7707, allocations: 283.4 kB / 0.7356 GB, free: 5.117 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7708, allocations: 309.1 kB / 0.7358 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.7721, allocations: 0.5707 MB / 0.7364 GB, free: 4.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.7736, allocations: 0.9742 MB / 0.7374 GB, free: 3.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.7762, allocations: 1.492 MB / 0.7388 GB, free: 1.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.7762, allocations: 4 kB / 0.7388 GB, free: 1.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.2246/1.001, allocations: 2.054 MB / 0.7408 GB, free: 224.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/1.001, allocations: 10.5 kB / 0.7408 GB, free: 224.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.001, allocations: 16.97 kB / 0.7408 GB, free: 224.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009375/1.01, allocations: 1.54 MB / 0.7424 GB, free: 224.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.012, allocations: 324.1 kB / 0.7427 GB, free: 224.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/1.016, allocations: 6.045 MB / 0.7486 GB, free: 219.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/1.018, allocations: 289.3 kB / 0.7488 GB, free: 219.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/1.018, allocations: 78.36 kB / 0.7489 GB, free: 219.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001613/1.02, allocations: 0.8251 MB / 0.7497 GB, free: 219.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00135/1.021, allocations: 0.962 MB / 0.7507 GB, free: 219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002372/1.024, allocations: 1.459 MB / 0.7521 GB, free: 218.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.348e-06/1.024, allocations: 3.75 kB / 0.7521 GB, free: 218.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00408/1.028, allocations: 1.85 MB / 0.7539 GB, free: 218.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.028, allocations: 13.23 kB / 0.7539 GB, free: 218.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.028, allocations: 13.44 kB / 0.7539 GB, free: 218.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006522/1.029, allocations: 184.4 kB / 0.7541 GB, free: 218.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.03, allocations: 403.7 kB / 0.7545 GB, free: 218.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/1.035, allocations: 7.9 MB / 0.7622 GB, free: 210.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.037, allocations: 195.3 kB / 0.7624 GB, free: 210.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/1.037, allocations: 78.64 kB / 0.7625 GB, free: 210.7 MB / 0.545 GB 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.000544/1.037, allocations: 275.4 kB / 0.7627 GB, free: 210.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/1.038, allocations: 197.8 kB / 0.7629 GB, free: 210.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/1.042, allocations: 1.65 MB / 0.7645 GB, free: 209.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.042, allocations: 12.75 kB / 0.7645 GB, free: 209.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.042, allocations: 1.766 kB / 0.7645 GB, free: 209.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.042, allocations: 5.766 kB / 0.7645 GB, free: 209.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/1.049, allocations: 3.492 MB / 0.7679 GB, free: 208.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.049, allocations: 3.062 kB / 0.768 GB, free: 208.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/1.049, allocations: 191.3 kB / 0.7681 GB, free: 208.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007634/1.057, allocations: 1.263 MB / 0.7694 GB, free: 208.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/1.057, allocations: 32.17 kB / 0.7694 GB, free: 208.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/1.061, allocations: 6.037 MB / 0.7753 GB, free: 202.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/1.061, allocations: 4.094 kB / 0.7753 GB, free: 202.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/1.066, allocations: 1.941 MB / 0.7772 GB, free: 201.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009232/1.067, allocations: 318.3 kB / 0.7775 GB, free: 201.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/1.067, allocations: 31.91 kB / 0.7775 GB, free: 201.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.069, allocations: 118.9 kB / 0.7776 GB, free: 201.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/1.069, allocations: 92.23 kB / 0.7777 GB, free: 201.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.069, allocations: 83.62 kB / 0.7778 GB, free: 201.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001681/1.071, allocations: 1.262 MB / 0.779 GB, free: 200.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.071, allocations: 0 / 0.779 GB, free: 200.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00309/1.074, allocations: 1.11 MB / 0.7801 GB, free: 200.2 MB / 0.545 GB 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.00116/1.075, allocations: 0.5377 MB / 0.7807 GB, free: 200 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005709/1.081, allocations: 2.571 MB / 0.7832 GB, free: 198.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/1.081, allocations: 4.719 kB / 0.7832 GB, free: 198.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/1.083, allocations: 0.7025 MB / 0.7839 GB, free: 198.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/1.087, allocations: 1.106 MB / 0.7849 GB, free: 197.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/1.091, allocations: 3.047 MB / 0.7879 GB, free: 195.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/1.092, allocations: 1.368 MB / 0.7892 GB, free: 194 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001297/1.093, allocations: 380.4 kB / 0.7896 GB, free: 193.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/1.093, allocations: 123.4 kB / 0.7897 GB, free: 193.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/1.093, allocations: 0 / 0.7897 GB, free: 193.5 MB / 0.545 GB Notification: Performance of Templates: time 0.06394/1.157, allocations: 52.92 MB / 0.8414 GB, free: 140.6 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile (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=480 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1)