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.001319/0.001319, allocations: 105.5 kB / 17.59 MB, free: 5.445 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.00129/0.00129, allocations: 191.6 kB / 18.52 MB, free: 4.523 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.396/1.396, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3225/0.3225, allocations: 48.85 MB / 320.6 MB, free: 11.1 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.002391/0.002391, allocations: 67.78 kB / 390.7 MB, free: 48.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1159, allocations: 59.16 MB / 449.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5246/0.6405, allocations: 251.7 MB / 0.6851 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.6518, allocations: 4.796 MB / 0.6898 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.6544, allocations: 31.81 kB / 0.6899 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.6581, allocations: 1.029 MB / 0.6909 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005216/0.6634, allocations: 1.418 MB / 0.6922 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008162/0.6716, allocations: 2.482 MB / 0.6947 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008047/0.6797, allocations: 4.379 MB / 0.6989 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.6824, allocations: 1.323 MB / 0.7002 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004046/0.6865, allocations: 1.616 MB / 0.7018 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.6893, allocations: 1.463 MB / 0.7032 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006524/0.69, allocations: 204 kB / 0.7034 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00532/0.6953, allocations: 1.809 MB / 0.7052 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.6968, allocations: 0.9156 MB / 0.7061 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00256/0.6994, allocations: 1.299 MB / 0.7074 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006287/0.7057, allocations: 3.463 MB / 0.7108 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.7058, allocations: 7.984 kB / 0.7108 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7058, allocations: 0 / 0.7108 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.157e-05/0.7059, allocations: 0 / 0.7108 GB, free: 15.06 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.006469/0.7123, allocations: 2.63 MB / 0.7133 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.7124, allocations: 11.89 kB / 0.7133 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.7146, allocations: 385.2 kB / 0.7137 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.7167, allocations: 1.037 MB / 0.7147 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.7169, allocations: 143.2 kB / 0.7149 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.7171, allocations: 172 kB / 0.715 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.7214, allocations: 2.114 MB / 0.7171 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.7214, allocations: 0 / 0.7171 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.7217, allocations: 80 kB / 0.7172 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/0.7217, allocations: 44 kB / 0.7172 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/0.7255, allocations: 1.803 MB / 0.719 GB, free: 6.508 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.01338/0.7389, allocations: 7.299 MB / 0.7261 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00484/0.7438, allocations: 1.438 MB / 0.7275 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.7453, allocations: 0.503 MB / 0.728 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.7454, allocations: 27.95 kB / 0.728 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.474e-05/0.7455, allocations: 62.52 kB / 0.7281 GB, free: 12.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 4.579e-06/0.7455, allocations: 0 / 0.7281 GB, free: 12.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=100): time 0.01483/0.7604, allocations: 3.568 MB / 0.7316 GB, free: 8.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.7605, allocations: 118.8 kB / 0.7317 GB, free: 8.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.7635, allocations: 1.855 MB / 0.7335 GB, free: 6.922 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000295/0.7638, allocations: 57.7 kB / 0.7335 GB, free: 6.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007648/0.7646, allocations: 0.8148 MB / 0.7343 GB, free: 6.035 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.765, allocations: 343 kB / 0.7347 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000441/0.7654, allocations: 279.4 kB / 0.7349 GB, free: 5.418 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7656, allocations: 305.1 kB / 0.7352 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.767, allocations: 0.5746 MB / 0.7358 GB, free: 4.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.7689, allocations: 0.9691 MB / 0.7367 GB, free: 3.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.772, allocations: 1.495 MB / 0.7382 GB, free: 1.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.772, allocations: 11.94 kB / 0.7382 GB, free: 1.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.2367/1.009, allocations: 2.057 MB / 0.7402 GB, free: 225.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/1.009, allocations: 10.53 kB / 0.7402 GB, free: 225.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/1.009, allocations: 14.03 kB / 0.7402 GB, free: 225.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009935/1.019, allocations: 1.536 MB / 0.7417 GB, free: 225.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.02, allocations: 331.1 kB / 0.742 GB, free: 225.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/1.025, allocations: 6.036 MB / 0.7479 GB, free: 220.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/1.027, allocations: 296.8 kB / 0.7482 GB, free: 220.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/1.027, allocations: 78.08 kB / 0.7483 GB, free: 220.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001738/1.029, allocations: 0.8276 MB / 0.7491 GB, free: 220.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001442/1.031, allocations: 0.9588 MB / 0.75 GB, free: 219.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002519/1.033, allocations: 1.452 MB / 0.7515 GB, free: 219.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-05/1.033, allocations: 7.812 kB / 0.7515 GB, free: 219.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004505/1.038, allocations: 1.852 MB / 0.7533 GB, free: 219.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/1.038, allocations: 11.09 kB / 0.7533 GB, free: 219.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.621e-05/1.038, allocations: 18.47 kB / 0.7533 GB, free: 219.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000807/1.039, allocations: 180.6 kB / 0.7535 GB, free: 219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/1.04, allocations: 412.4 kB / 0.7539 GB, free: 219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/1.046, allocations: 7.896 MB / 0.7616 GB, free: 211.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/1.048, allocations: 190.3 kB / 0.7618 GB, free: 211.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/1.048, allocations: 75.25 kB / 0.7618 GB, free: 211.5 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.0006194/1.049, allocations: 282.3 kB / 0.7621 GB, free: 211.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000702/1.05, allocations: 197.7 kB / 0.7623 GB, free: 211.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/1.054, allocations: 1.652 MB / 0.7639 GB, free: 210.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.054, allocations: 13.92 kB / 0.7639 GB, free: 210.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.054, allocations: 1.125 kB / 0.7639 GB, free: 210.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.054, allocations: 4.406 kB / 0.7639 GB, free: 210.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007168/1.061, allocations: 3.487 MB / 0.7673 GB, free: 209 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.061, allocations: 3.594 kB / 0.7673 GB, free: 209 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/1.062, allocations: 196.7 kB / 0.7675 GB, free: 209 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008126/1.07, allocations: 1.257 MB / 0.7687 GB, free: 208.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/1.07, allocations: 35.75 kB / 0.7688 GB, free: 208.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004414/1.075, allocations: 6.032 MB / 0.7747 GB, free: 203.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.075, allocations: 15.62 kB / 0.7747 GB, free: 203.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/1.08, allocations: 1.942 MB / 0.7766 GB, free: 202.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000736/1.08, allocations: 317.6 kB / 0.7769 GB, free: 202 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/1.081, allocations: 20.25 kB / 0.7769 GB, free: 202 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.082, allocations: 127.1 kB / 0.777 GB, free: 202 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.082, allocations: 88.33 kB / 0.7771 GB, free: 201.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.083, allocations: 87.12 kB / 0.7772 GB, free: 201.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001442/1.084, allocations: 1.258 MB / 0.7784 GB, free: 201.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.084, allocations: 0 / 0.7784 GB, free: 201.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003467/1.088, allocations: 1.122 MB / 0.7795 GB, free: 201 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.001411/1.089, allocations: 0.5308 MB / 0.78 GB, free: 200.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006576/1.096, allocations: 2.607 MB / 0.7826 GB, free: 199.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.096, allocations: 8 kB / 0.7826 GB, free: 199.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/1.097, allocations: 0.6994 MB / 0.7833 GB, free: 199.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005318/1.103, allocations: 1.102 MB / 0.7843 GB, free: 198.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/1.107, allocations: 3.173 MB / 0.7874 GB, free: 195.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/1.108, allocations: 1.375 MB / 0.7888 GB, free: 194.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/1.108, allocations: 127.4 kB / 0.7889 GB, free: 194.4 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/1.108, allocations: 0 / 0.7889 GB, free: 194.4 MB / 0.545 GB Notification: Performance of Templates: time 0.07581/1.184, allocations: 94.82 MB / 0.8815 GB, free: 99.5 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1)