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.001392/0.001392, allocations: 114.8 kB / 17.74 MB, free: 5.355 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.001296/0.001296, allocations: 188.5 kB / 18.67 MB, free: 4.434 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.445/1.445, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3/0.3, allocations: 48.84 MB / 320.7 MB, free: 11.01 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.00168/0.00168, allocations: 63.91 kB / 451.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1129, allocations: 59.17 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5094/0.6223, allocations: 251.7 MB / 0.7442 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009393/0.6317, allocations: 4.811 MB / 0.7489 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.6339, allocations: 31.81 kB / 0.7489 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003328/0.6373, allocations: 1.029 MB / 0.7499 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.6416, allocations: 1.41 MB / 0.7513 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007261/0.6489, allocations: 2.473 MB / 0.7537 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006837/0.6557, allocations: 4.38 MB / 0.758 GB, free: 148 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3855/1.041, allocations: 1.32 MB / 0.7593 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004454/1.046, allocations: 1.637 MB / 0.7609 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/1.05, allocations: 1.466 MB / 0.7623 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000985/1.051, allocations: 201.8 kB / 0.7625 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005803/1.057, allocations: 1.685 MB / 0.7641 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002161/1.059, allocations: 0.9106 MB / 0.765 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004148/1.063, allocations: 1.31 MB / 0.7663 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008521/1.072, allocations: 3.488 MB / 0.7697 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.072, allocations: 2 kB / 0.7697 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/1.072, allocations: 0 / 0.7697 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000124/1.072, allocations: 1.625 kB / 0.7697 GB, free: 4.16 MB / 0.5919 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.007831/1.08, allocations: 2.62 MB / 0.7723 GB, free: 19.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/1.08, allocations: 12.64 kB / 0.7723 GB, free: 19.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/1.082, allocations: 395.3 kB / 0.7727 GB, free: 19.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/1.085, allocations: 1.074 MB / 0.7737 GB, free: 18.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/1.085, allocations: 136.4 kB / 0.7738 GB, free: 18.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/1.085, allocations: 169.9 kB / 0.774 GB, free: 18.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004901/1.09, allocations: 2.114 MB / 0.7761 GB, free: 18.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/1.09, allocations: 4.312 kB / 0.7761 GB, free: 18.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/1.09, allocations: 78.7 kB / 0.7761 GB, free: 18.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.757e-05/1.09, allocations: 43.47 kB / 0.7762 GB, free: 18.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004408/1.095, allocations: 1.811 MB / 0.7779 GB, free: 18.57 MB / 0.6075 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.01519/1.11, allocations: 7.206 MB / 0.785 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004588/1.115, allocations: 1.446 MB / 0.7864 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/1.116, allocations: 0.5009 MB / 0.7869 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/1.116, allocations: 30.17 kB / 0.7869 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/1.116, allocations: 62.75 kB / 0.787 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=100): time 3.818e-06/1.116, allocations: 0.8438 kB / 0.787 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100): time 0.01505/1.131, allocations: 3.565 MB / 0.7905 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/1.131, allocations: 121.4 kB / 0.7906 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/1.135, allocations: 1.85 MB / 0.7924 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005008/1.136, allocations: 58.48 kB / 0.7924 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/1.136, allocations: 0.8137 MB / 0.7932 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/1.137, allocations: 350.8 kB / 0.7936 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000706/1.138, allocations: 279.9 kB / 0.7938 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.138, allocations: 302 kB / 0.7941 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/1.139, allocations: 0.5692 MB / 0.7947 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/1.141, allocations: 0.9736 MB / 0.7956 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/1.144, allocations: 1.494 MB / 0.7971 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/1.144, allocations: 2.219 kB / 0.7971 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005074/1.149, allocations: 2.069 MB / 0.7991 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/1.149, allocations: 9.531 kB / 0.7991 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.483e-05/1.149, allocations: 13.94 kB / 0.7991 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009807/1.159, allocations: 1.544 MB / 0.8006 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.16, allocations: 326.7 kB / 0.8009 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/1.166, allocations: 6.032 MB / 0.8068 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/1.169, allocations: 291.1 kB / 0.8071 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/1.17, allocations: 80.7 kB / 0.8072 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002539/1.172, allocations: 0.8354 MB / 0.808 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00191/1.174, allocations: 0.9609 MB / 0.8089 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003064/1.177, allocations: 1.458 MB / 0.8104 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.847e-05/1.177, allocations: 4.609 kB / 0.8104 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004736/1.182, allocations: 1.851 MB / 0.8122 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/1.182, allocations: 17.3 kB / 0.8122 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/1.182, allocations: 17.31 kB / 0.8122 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/1.183, allocations: 179.9 kB / 0.8124 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.185, allocations: 408.6 kB / 0.8128 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/1.192, allocations: 7.894 MB / 0.8205 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/1.195, allocations: 197.9 kB / 0.8207 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/1.195, allocations: 78.11 kB / 0.8207 GB, free: 14.6 MB / 0.6231 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.0009303/1.196, allocations: 274.3 kB / 0.821 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.197, allocations: 203.4 kB / 0.8212 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/1.202, allocations: 1.645 MB / 0.8228 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/1.202, allocations: 13.34 kB / 0.8228 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.202, allocations: 3.312 kB / 0.8228 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/1.202, allocations: 7.406 kB / 0.8228 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009187/1.211, allocations: 3.49 MB / 0.8262 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.211, allocations: 4.688 kB / 0.8262 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/1.212, allocations: 197.6 kB / 0.8264 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008024/1.22, allocations: 1.244 MB / 0.8276 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003427/1.22, allocations: 38.75 kB / 0.8277 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005707/1.226, allocations: 6.041 MB / 0.8336 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.226, allocations: 3.969 kB / 0.8336 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/1.231, allocations: 1.948 MB / 0.8355 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.233, allocations: 310.7 kB / 0.8358 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009018/1.233, allocations: 26.97 kB / 0.8358 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/1.236, allocations: 125.4 kB / 0.8359 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/1.236, allocations: 91.67 kB / 0.836 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004221/1.237, allocations: 83.78 kB / 0.8361 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002329/1.239, allocations: 1.255 MB / 0.8373 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.239, allocations: 0 / 0.8373 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005219/1.244, allocations: 1.113 MB / 0.8384 GB, free: 7.121 MB / 0.6231 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.002121/1.247, allocations: 0.539 MB / 0.8389 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007248/1.254, allocations: 2.575 MB / 0.8415 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/1.254, allocations: 7.875 kB / 0.8415 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.256, allocations: 0.6975 MB / 0.8421 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007831/1.264, allocations: 1.122 MB / 0.8432 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006797/1.271, allocations: 3.134 MB / 0.8463 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/1.272, allocations: 1.372 MB / 0.8476 GB, free: 400 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/1.273, allocations: 130.6 kB / 0.8478 GB, free: 272 kB / 0.6231 GB Notification: Performance of SimCode: time 9.01e-07/1.273, allocations: 288 / 0.8478 GB, free: 272 kB / 0.6231 GB Notification: Performance of Templates: time 0.1091/1.382, allocations: 95.39 MB / 0.9409 GB, free: 1.055 MB / 0.7169 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)