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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValve,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValve,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008035/0.0008036, allocations: 92.52 kB / 16.65 MB, free: 6.602 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.0007336/0.0007336, allocations: 175.7 kB / 17.56 MB, free: 6.203 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.145/1.145, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.231/0.231, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.0004519/0.000452, allocations: 13.14 kB / 391.9 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07464/0.0751, allocations: 60.27 MB / 452.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.3753/0.4504, allocations: 247.5 MB / 0.6832 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007297/0.4578, allocations: 4.925 MB / 0.688 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.459, allocations: 35.69 kB / 0.6881 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.461, allocations: 0.8939 MB / 0.689 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.4633, allocations: 1.352 MB / 0.6903 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004575/0.4679, allocations: 2.265 MB / 0.6925 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004609/0.4725, allocations: 6.025 MB / 0.6984 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.4736, allocations: 1.112 MB / 0.6995 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.4751, allocations: 1.405 MB / 0.7008 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.4765, allocations: 1.498 MB / 0.7023 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.4767, allocations: 100 kB / 0.7024 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.4798, allocations: 2.245 MB / 0.7046 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006162/0.4805, allocations: 0.8063 MB / 0.7054 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009856/0.4815, allocations: 1.203 MB / 0.7065 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.4844, allocations: 3.52 MB / 0.71 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.4844, allocations: 0 / 0.71 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4844, allocations: 0 / 0.71 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.4844, allocations: 0 / 0.71 GB, free: 6.719 MB / 0.5137 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.003731/0.4882, allocations: 2.209 MB / 0.7121 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.4882, allocations: 8.031 kB / 0.7121 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002765/0.4885, allocations: 248.7 kB / 0.7124 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.4901, allocations: 397.1 kB / 0.7128 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.4914, allocations: 1.041 MB / 0.7138 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/0.4915, allocations: 139.3 kB / 0.7139 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.4917, allocations: 168 kB / 0.7141 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.495, allocations: 2.165 MB / 0.7162 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.4951, allocations: 0 / 0.7162 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.4953, allocations: 79.94 kB / 0.7163 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.4953, allocations: 40 kB / 0.7163 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.4987, allocations: 1.917 MB / 0.7182 GB, free: 14.17 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.009008/0.5077, allocations: 7.302 MB / 0.7253 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004371/0.5121, allocations: 1.725 MB / 0.727 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.5132, allocations: 0.5576 MB / 0.7275 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/0.5133, allocations: 23.98 kB / 0.7276 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.5133, allocations: 70.38 kB / 0.7276 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=100): time 2.054e-06/0.5133, allocations: 4 kB / 0.7276 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=100): time 0.2309/0.7443, allocations: 4.169 MB / 0.7317 GB, free: 34.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.7443, allocations: 117.7 kB / 0.7318 GB, free: 34.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.7466, allocations: 1.847 MB / 0.7336 GB, free: 34.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.7468, allocations: 60.28 kB / 0.7337 GB, free: 34.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.7473, allocations: 0.8055 MB / 0.7345 GB, free: 34.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.7475, allocations: 352.1 kB / 0.7348 GB, free: 34.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.7477, allocations: 123.7 kB / 0.7349 GB, free: 34.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.7477, allocations: 306.3 kB / 0.7352 GB, free: 33.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.749, allocations: 0.6136 MB / 0.7358 GB, free: 33.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.7505, allocations: 1.025 MB / 0.7368 GB, free: 33.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.753, allocations: 1.598 MB / 0.7384 GB, free: 32.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.7531, allocations: 3.281 kB / 0.7384 GB, free: 32.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004337/0.7574, allocations: 2.213 MB / 0.7405 GB, free: 32.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.7575, allocations: 477.1 kB / 0.741 GB, free: 32.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.7576, allocations: 14.03 kB / 0.741 GB, free: 32.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009839/0.7674, allocations: 1.607 MB / 0.7426 GB, free: 31.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.7686, allocations: 339.2 kB / 0.7429 GB, free: 31.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.7725, allocations: 6.135 MB / 0.7489 GB, free: 26.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.7743, allocations: 347.6 kB / 0.7492 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.7744, allocations: 84.47 kB / 0.7493 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.7744, allocations: 11 kB / 0.7493 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003188/0.7776, allocations: 1.748 MB / 0.751 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.7777, allocations: 11.66 kB / 0.751 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005517/0.7782, allocations: 182.2 kB / 0.7512 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.7796, allocations: 435.9 kB / 0.7516 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/0.7836, allocations: 7.527 MB / 0.759 GB, free: 19.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.7851, allocations: 305 kB / 0.7592 GB, free: 19.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.7852, allocations: 76.23 kB / 0.7593 GB, free: 19.63 MB / 0.5294 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.000717/0.786, allocations: 484 kB / 0.7598 GB, free: 19.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.7862, allocations: 200.6 kB / 0.76 GB, free: 19.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.7899, allocations: 1.795 MB / 0.7617 GB, free: 19.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.7899, allocations: 12.22 kB / 0.7617 GB, free: 19.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7899, allocations: 3.469 kB / 0.7617 GB, free: 19.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.79, allocations: 5.203 kB / 0.7617 GB, free: 19.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/0.7953, allocations: 3.64 MB / 0.7653 GB, free: 18.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.7954, allocations: 13.12 kB / 0.7653 GB, free: 18.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/0.796, allocations: 200.4 kB / 0.7655 GB, free: 18.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008213/0.8043, allocations: 1.379 MB / 0.7669 GB, free: 18.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.8043, allocations: 30.83 kB / 0.7669 GB, free: 18.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.8075, allocations: 6.147 MB / 0.7729 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8075, allocations: 4.531 kB / 0.7729 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.8111, allocations: 2.102 MB / 0.7749 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.8114, allocations: 319.1 kB / 0.7752 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.8116, allocations: 25.27 kB / 0.7753 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.8133, allocations: 183.5 kB / 0.7754 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.8134, allocations: 91.84 kB / 0.7755 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.8135, allocations: 85.77 kB / 0.7756 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001224/0.8148, allocations: 1.256 MB / 0.7768 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8148, allocations: 0 / 0.7768 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002486/0.8173, allocations: 1.129 MB / 0.7779 GB, free: 12.12 MB / 0.5294 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.00453/0.8218, allocations: 3.101 MB / 0.781 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005449/0.8273, allocations: 2.716 MB / 0.7836 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.8273, allocations: 4.125 kB / 0.7836 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.8289, allocations: 0.7562 MB / 0.7844 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005472/0.8344, allocations: 1.088 MB / 0.7854 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.855, allocations: 18.29 MB / 0.8033 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.8556, allocations: 1.37 MB / 0.8046 GB, free: 196 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001811/0.8575, allocations: 390.9 kB / 0.805 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.8581, allocations: 0.6918 MB / 0.8057 GB, free: 15.82 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.8581, allocations: 0.7656 kB / 0.8057 GB, free: 15.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08161/0.9397, allocations: 65.41 MB / 0.8696 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.9399, allocations: 226.4 kB / 0.8698 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.34/4.28, allocations: 0 / 0.8698 GB, free: 15.27 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasValve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasValve.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1)