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.001114/0.001114, allocations: 93.8 kB / 16.3 MB, free: 5.996 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.001264/0.001264, allocations: 184 kB / 17.2 MB, free: 5.914 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.868/1.868, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4435/0.4435, allocations: 48.77 MB / 320.4 MB, free: 3.797 MB / 254.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.0009916/0.0009918, allocations: 12 kB / 391.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1665, allocations: 60.24 MB / 451.5 MB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.4562/0.6228, allocations: 180.7 MB / 0.6174 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009281/0.6321, allocations: 4.591 MB / 0.6218 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.6339, allocations: 31.81 kB / 0.6219 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.6367, allocations: 0.7736 MB / 0.6226 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003762/0.6405, allocations: 1.098 MB / 0.6237 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006225/0.6467, allocations: 1.858 MB / 0.6255 GB, free: 0 / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.3534/1, allocations: 2.461 MB / 0.6279 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/1.003, allocations: 1.047 MB / 0.6289 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00656/1.01, allocations: 1.347 MB / 0.6303 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003782/1.014, allocations: 1.027 MB / 0.6313 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008368/1.015, allocations: 96.47 kB / 0.6313 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006766/1.021, allocations: 1.159 MB / 0.6325 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/1.023, allocations: 0.7552 MB / 0.6332 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00255/1.026, allocations: 476.6 kB / 0.6337 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008692/1.035, allocations: 2.503 MB / 0.6361 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.035, allocations: 0 / 0.6361 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.258e-06/1.035, allocations: 0.8125 kB / 0.6361 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001714/1.035, allocations: 0 / 0.6361 GB, free: 21.73 MB / 0.4981 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.01201/1.047, allocations: 2.234 MB / 0.6383 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.042e-05/1.047, allocations: 8.719 kB / 0.6383 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001815/1.049, allocations: 250.6 kB / 0.6385 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005031/1.054, allocations: 405.3 kB / 0.6389 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005622/1.06, allocations: 1.006 MB / 0.6399 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004891/1.06, allocations: 134.7 kB / 0.64 GB, free: 20.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/1.062, allocations: 172.5 kB / 0.6402 GB, free: 20.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/1.074, allocations: 2.133 MB / 0.6423 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/1.074, allocations: 0.5 kB / 0.6423 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/1.075, allocations: 78.45 kB / 0.6424 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/1.075, allocations: 39.31 kB / 0.6424 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008102/1.083, allocations: 1.908 MB / 0.6443 GB, free: 19.94 MB / 0.4981 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.01943/1.103, allocations: 7.245 MB / 0.6513 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005781/1.109, allocations: 1.729 MB / 0.653 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.109, allocations: 25.91 kB / 0.6531 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/1.109, allocations: 66.69 kB / 0.6531 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 2.966e-06/1.109, allocations: 1.406 kB / 0.6531 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.01792/1.127, allocations: 4.142 MB / 0.6572 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/1.127, allocations: 110.8 kB / 0.6573 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/1.131, allocations: 1.84 MB / 0.6591 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005301/1.131, allocations: 57.14 kB / 0.6591 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007359/1.132, allocations: 0.8116 MB / 0.6599 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000511/1.132, allocations: 343.6 kB / 0.6602 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/1.133, allocations: 30.78 kB / 0.6603 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002923/1.133, allocations: 360.9 kB / 0.6606 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/1.134, allocations: 0.5931 MB / 0.6612 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/1.136, allocations: 0.9974 MB / 0.6622 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/1.137, allocations: 0.6821 MB / 0.6628 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/1.137, allocations: 3.125 kB / 0.6628 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005169/1.143, allocations: 2.142 MB / 0.6649 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.002595/1.145, allocations: 5.235 MB / 0.67 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-05/1.145, allocations: 14.59 kB / 0.6701 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009451/1.155, allocations: 1.478 MB / 0.6715 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.157, allocations: 331.8 kB / 0.6718 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007537/1.164, allocations: 6.124 MB / 0.6778 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/1.168, allocations: 361.5 kB / 0.6781 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/1.168, allocations: 78.25 kB / 0.6782 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.168, allocations: 5.062 kB / 0.6782 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00459/1.173, allocations: 1.74 MB / 0.6799 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-05/1.173, allocations: 12.72 kB / 0.6799 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007693/1.174, allocations: 178.1 kB / 0.6801 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/1.176, allocations: 433.1 kB / 0.6805 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007601/1.183, allocations: 7.567 MB / 0.6879 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/1.186, allocations: 304.5 kB / 0.6882 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004478/1.187, allocations: 75.72 kB / 0.6883 GB, free: 10.53 MB / 0.5137 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 (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 18,2 18} Notification: Performance of prepare postOptimizeDAE: time 0.001803/1.188, allocations: 482.5 kB / 0.6887 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.189, allocations: 199.9 kB / 0.6889 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004978/1.194, allocations: 1.79 MB / 0.6907 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/1.194, allocations: 11.25 kB / 0.6907 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.194, allocations: 5.75 kB / 0.6907 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/1.195, allocations: 11.59 kB / 0.6907 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008909/1.203, allocations: 3.625 MB / 0.6942 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.203, allocations: 4.484 kB / 0.6942 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008451/1.204, allocations: 202.6 kB / 0.6944 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008953/1.213, allocations: 1.373 MB / 0.6958 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002971/1.214, allocations: 39.81 kB / 0.6958 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005896/1.22, allocations: 6.127 MB / 0.7018 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/1.22, allocations: 12.09 kB / 0.7018 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/1.225, allocations: 2.359 MB / 0.7041 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.227, allocations: 328.4 kB / 0.7044 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008124/1.228, allocations: 22.56 kB / 0.7044 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/1.23, allocations: 181 kB / 0.7046 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/1.231, allocations: 93.2 kB / 0.7047 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000433/1.231, allocations: 84.28 kB / 0.7048 GB, free: 108 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002458/1.234, allocations: 1.242 MB / 0.706 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.363e-06/1.234, allocations: 0 / 0.706 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005992/1.24, allocations: 1.126 MB / 0.7071 GB, free: 14.14 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 (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 20,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007829/1.247, allocations: 4.307 MB / 0.7113 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008122/1.256, allocations: 2.69 MB / 0.7139 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.15e-05/1.256, allocations: 6.188 kB / 0.7139 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/1.258, allocations: 0.7466 MB / 0.7147 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007328/1.265, allocations: 1.06 MB / 0.7157 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.282, allocations: 13.7 MB / 0.7291 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/1.284, allocations: 1.403 MB / 0.7304 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003453/1.288, allocations: 382.5 kB / 0.7308 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.289, allocations: 0.6811 MB / 0.7315 GB, free: 6.945 MB / 0.545 GB Notification: Performance of SimCode: time 1.272e-06/1.289, allocations: 0 / 0.7315 GB, free: 6.945 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/1.434, allocations: 64.1 MB / 0.7941 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.435, allocations: 211.5 kB / 0.7943 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.806/7.241, allocations: 0 / 0.7943 GB, free: 6.797 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/linux/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) Environment - environmentSimulation: