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.001166/0.001166, allocations: 108.5 kB / 16.51 MB, free: 6.707 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.001059/0.001059, allocations: 186.6 kB / 17.42 MB, free: 6.074 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.512/1.512, allocations: 205.1 MB / 223.3 MB, free: 12.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2825/0.2825, allocations: 48.84 MB / 319.5 MB, free: 11.3 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.001304/0.001304, allocations: 61.42 kB / 389.3 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09951, allocations: 59.17 MB / 448.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.4763/0.5758, allocations: 251 MB / 0.6831 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009394/0.5853, allocations: 4.969 MB / 0.6879 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.5874, allocations: 31.81 kB / 0.688 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.5908, allocations: 0.9016 MB / 0.6888 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003856/0.5947, allocations: 1.348 MB / 0.6902 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006219/0.6009, allocations: 2.276 MB / 0.6924 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006874/0.6078, allocations: 6.013 MB / 0.6983 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.6097, allocations: 1.143 MB / 0.6994 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.6128, allocations: 1.412 MB / 0.7007 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.6152, allocations: 1.518 MB / 0.7022 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003613/0.6156, allocations: 104 kB / 0.7023 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/0.6204, allocations: 2.253 MB / 0.7045 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008958/0.6213, allocations: 0.8179 MB / 0.7053 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.6229, allocations: 1.19 MB / 0.7065 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.6277, allocations: 3.548 MB / 0.71 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6277, allocations: 0 / 0.71 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.348e-06/0.6278, allocations: 4 kB / 0.71 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.229e-05/0.6278, allocations: 3.938 kB / 0.71 GB, free: 15.17 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.005724/0.6336, allocations: 2.624 MB / 0.7125 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.6336, allocations: 8.031 kB / 0.7125 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.6356, allocations: 393.2 kB / 0.7129 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.6373, allocations: 1.038 MB / 0.7139 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.6375, allocations: 139.3 kB / 0.7141 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.6377, allocations: 172 kB / 0.7142 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.6418, allocations: 2.11 MB / 0.7163 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.6419, allocations: 0 / 0.7163 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/0.6421, allocations: 80 kB / 0.7164 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.6421, allocations: 40 kB / 0.7164 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.6457, allocations: 1.807 MB / 0.7182 GB, free: 6.633 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.01156/0.6573, allocations: 7.274 MB / 0.7253 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.6616, allocations: 1.45 MB / 0.7267 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.6627, allocations: 0.5029 MB / 0.7272 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.485e-05/0.6628, allocations: 27.95 kB / 0.7272 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.6629, allocations: 62.45 kB / 0.7273 GB, free: 12.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 3.837e-06/0.6629, allocations: 4 kB / 0.7273 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=100): time 0.01441/0.6773, allocations: 3.56 MB / 0.7307 GB, free: 9.113 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.6774, allocations: 122.8 kB / 0.7309 GB, free: 8.969 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.6804, allocations: 1.855 MB / 0.7327 GB, free: 7.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003174/0.6808, allocations: 53.7 kB / 0.7327 GB, free: 7.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006883/0.6815, allocations: 0.8148 MB / 0.7335 GB, free: 6.184 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.6818, allocations: 347 kB / 0.7338 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.6823, allocations: 279.4 kB / 0.7341 GB, free: 5.562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6824, allocations: 309 kB / 0.7344 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.6838, allocations: 0.5668 MB / 0.735 GB, free: 4.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.6855, allocations: 0.977 MB / 0.7359 GB, free: 3.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.6883, allocations: 1.495 MB / 0.7374 GB, free: 1.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.6883, allocations: 4 kB / 0.7374 GB, free: 1.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.1921/0.8805, allocations: 2.056 MB / 0.7394 GB, free: 225.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.8805, allocations: 10.97 kB / 0.7394 GB, free: 225.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/0.8806, allocations: 12.97 kB / 0.7394 GB, free: 225.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.8911, allocations: 1.541 MB / 0.7409 GB, free: 225.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.8926, allocations: 329.2 kB / 0.7412 GB, free: 225.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004611/0.8973, allocations: 6.037 MB / 0.7471 GB, free: 220.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.9001, allocations: 327.5 kB / 0.7474 GB, free: 220.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/0.9004, allocations: 78.75 kB / 0.7475 GB, free: 220.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001806/0.9022, allocations: 0.8266 MB / 0.7483 GB, free: 220.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00152/0.9037, allocations: 0.9611 MB / 0.7493 GB, free: 220 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002499/0.9062, allocations: 1.456 MB / 0.7507 GB, free: 219.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.334e-05/0.9063, allocations: 4.344 kB / 0.7507 GB, free: 219.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004359/0.9106, allocations: 1.846 MB / 0.7525 GB, free: 219.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.9107, allocations: 12.06 kB / 0.7525 GB, free: 219.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.9107, allocations: 14.5 kB / 0.7525 GB, free: 219.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007696/0.9115, allocations: 186.8 kB / 0.7527 GB, free: 219.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.9133, allocations: 407.3 kB / 0.7531 GB, free: 219.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/0.9181, allocations: 7.527 MB / 0.7604 GB, free: 212 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.9204, allocations: 226.4 kB / 0.7606 GB, free: 212 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.9206, allocations: 76.16 kB / 0.7607 GB, free: 211.9 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.0005441/0.9212, allocations: 276.8 kB / 0.761 GB, free: 211.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006126/0.9218, allocations: 201.8 kB / 0.7612 GB, free: 211.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004194/0.926, allocations: 1.647 MB / 0.7628 GB, free: 211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.9261, allocations: 11.44 kB / 0.7628 GB, free: 211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9261, allocations: 1.062 kB / 0.7628 GB, free: 211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.9261, allocations: 8.547 kB / 0.7628 GB, free: 211 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006907/0.933, allocations: 3.488 MB / 0.7662 GB, free: 209.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.933, allocations: 8.25 kB / 0.7662 GB, free: 209.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.9338, allocations: 191 kB / 0.7664 GB, free: 209.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008545/0.9424, allocations: 1.309 MB / 0.7677 GB, free: 209.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/0.9426, allocations: 29.61 kB / 0.7677 GB, free: 209.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004067/0.9467, allocations: 6.044 MB / 0.7736 GB, free: 203.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.9467, allocations: 11.78 kB / 0.7736 GB, free: 203.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004363/0.9511, allocations: 1.935 MB / 0.7755 GB, free: 202.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008289/0.9519, allocations: 313.4 kB / 0.7758 GB, free: 202.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005335/0.9525, allocations: 27.91 kB / 0.7758 GB, free: 202.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/0.9546, allocations: 155 kB / 0.776 GB, free: 202.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.9548, allocations: 87.17 kB / 0.7761 GB, free: 202.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002625/0.955, allocations: 83.44 kB / 0.7761 GB, free: 202.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001932/0.957, allocations: 1.258 MB / 0.7774 GB, free: 201.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/0.957, allocations: 0 / 0.7774 GB, free: 201.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003809/0.9608, allocations: 1.132 MB / 0.7785 GB, free: 201.4 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.001472/0.9623, allocations: 0.5479 MB / 0.779 GB, free: 201.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00625/0.9686, allocations: 2.563 MB / 0.7815 GB, free: 199.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.9686, allocations: 2.938 kB / 0.7815 GB, free: 199.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.9704, allocations: 0.6961 MB / 0.7822 GB, free: 199.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005903/0.9763, allocations: 1.085 MB / 0.7833 GB, free: 199.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.9812, allocations: 3.69 MB / 0.7869 GB, free: 195.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/0.982, allocations: 1.375 MB / 0.7882 GB, free: 194.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002056/0.9841, allocations: 389 kB / 0.7886 GB, free: 193.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.9844, allocations: 119.4 kB / 0.7887 GB, free: 193.8 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/0.9844, allocations: 4 kB / 0.7887 GB, free: 193.8 MB / 0.545 GB Notification: Performance of Templates: time 0.06262/1.047, allocations: 49.58 MB / 0.8371 GB, free: 144.2 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)