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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 88.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.665/0.665, allocations: 48.78 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.37e-05, allocations: 4 kB / 425.4 MB, free: 8.145 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1845, allocations: 60.26 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.427/2.612, allocations: 0.7157 GB / 1.19 GB, free: 108.4 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/2.612, allocations: 75.97 kB / 1.19 GB, free: 108.4 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 3.129/5.741, allocations: 0.7879 GB / 1.978 GB, free: 59.88 MB / 0.5265 GB Notification: Performance of FrontEnd: time 2.164e-06/5.741, allocations: 0 / 1.978 GB, free: 59.88 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001387/5.741, allocations: 56.88 kB / 1.978 GB, free: 59.87 MB / 0.5265 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.005852/5.747, allocations: 1.968 MB / 1.98 GB, free: 59.13 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/5.747, allocations: 8.938 kB / 1.98 GB, free: 59.13 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/5.749, allocations: 370.3 kB / 1.98 GB, free: 59.02 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/5.752, allocations: 1.075 MB / 1.981 GB, free: 58.64 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/5.752, allocations: 56.62 kB / 1.981 GB, free: 58.64 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/5.752, allocations: 101.6 kB / 1.981 GB, free: 58.64 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002466/5.755, allocations: 1.454 MB / 1.983 GB, free: 58.64 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/5.758, allocations: 1.673 MB / 1.985 GB, free: 58.53 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/5.758, allocations: 0 / 1.985 GB, free: 58.53 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/5.758, allocations: 3.875 kB / 1.985 GB, free: 58.53 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/5.758, allocations: 45.03 kB / 1.985 GB, free: 58.53 MB / 0.5265 GB Warning: The model contains alias variables with conflicting start and/or 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.01073/5.769, allocations: 6.534 MB / 1.991 GB, free: 55.37 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/5.772, allocations: 1.403 MB / 1.992 GB, free: 55.29 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/5.773, allocations: 374.9 kB / 1.993 GB, free: 55.27 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/5.773, allocations: 27.95 kB / 1.993 GB, free: 55.27 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/5.773, allocations: 63.14 kB / 1.993 GB, free: 55.23 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=100): time 2.545e-06/5.773, allocations: 2.25 kB / 1.993 GB, free: 55.23 MB / 0.5265 GB Notification: Performance of matching and sorting (n=100): time 0.003687/5.777, allocations: 1.197 MB / 1.994 GB, free: 55.09 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/5.777, allocations: 113.2 kB / 1.994 GB, free: 54.96 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/5.778, allocations: 0.892 MB / 1.995 GB, free: 54.8 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0002937/5.779, allocations: 30.67 kB / 1.995 GB, free: 54.77 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/5.779, allocations: 0.8363 MB / 1.996 GB, free: 54.36 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/5.779, allocations: 332.7 kB / 1.996 GB, free: 54.14 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/5.78, allocations: 0 / 1.996 GB, free: 54.14 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/5.78, allocations: 356.8 kB / 1.996 GB, free: 53.84 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/5.78, allocations: 414.2 kB / 1.997 GB, free: 53.84 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/5.781, allocations: 0.8082 MB / 1.998 GB, free: 53.37 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/5.782, allocations: 0.5393 MB / 1.998 GB, free: 53.36 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/5.782, allocations: 2.812 kB / 1.998 GB, free: 53.36 MB / 0.5265 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002987/5.785, allocations: 1.564 MB / 2 GB, free: 53.17 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.001022/5.786, allocations: 5.051 MB / 2.005 GB, free: 47.91 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/5.786, allocations: 15.38 kB / 2.005 GB, free: 47.9 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003284/5.79, allocations: 0.6072 MB / 2.005 GB, free: 47.88 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/5.791, allocations: 336.5 kB / 2.006 GB, free: 47.86 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/5.794, allocations: 5.977 MB / 2.011 GB, free: 42.69 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/5.797, allocations: 254.3 kB / 2.012 GB, free: 42.62 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/5.797, allocations: 82.86 kB / 2.012 GB, free: 42.62 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/5.797, allocations: 5.938 kB / 2.012 GB, free: 42.62 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002395/5.799, allocations: 1.222 MB / 2.013 GB, free: 42.5 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/5.799, allocations: 14.31 kB / 2.013 GB, free: 42.5 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/5.8, allocations: 169.6 kB / 2.013 GB, free: 42.48 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/5.801, allocations: 431.8 kB / 2.013 GB, free: 42.46 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00421/5.806, allocations: 7.426 MB / 2.021 GB, free: 35.77 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/5.808, allocations: 208.9 kB / 2.021 GB, free: 35.71 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/5.808, allocations: 80.36 kB / 2.021 GB, free: 35.71 MB / 0.5265 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 () * 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.000605/5.808, allocations: 147.3 kB / 2.021 GB, free: 35.58 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003075/5.811, allocations: 1.147 MB / 2.022 GB, free: 35.42 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/5.812, allocations: 139.2 kB / 2.022 GB, free: 35.36 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/5.814, allocations: 1.24 MB / 2.024 GB, free: 35.24 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/5.815, allocations: 18 kB / 2.024 GB, free: 35.23 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/5.815, allocations: 0 / 2.024 GB, free: 35.23 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/5.815, allocations: 7.203 kB / 2.024 GB, free: 35.23 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/5.819, allocations: 2.871 MB / 2.026 GB, free: 34.51 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/5.819, allocations: 2.719 kB / 2.026 GB, free: 34.51 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/5.82, allocations: 199.8 kB / 2.027 GB, free: 34.5 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002366/5.822, allocations: 0.577 MB / 2.027 GB, free: 34.49 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/5.823, allocations: 21.25 kB / 2.027 GB, free: 34.49 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/5.825, allocations: 5.923 MB / 2.033 GB, free: 29.32 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/5.825, allocations: 15.2 kB / 2.033 GB, free: 29.32 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/5.829, allocations: 1.679 MB / 2.035 GB, free: 28.52 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/5.829, allocations: 247.5 kB / 2.035 GB, free: 28.34 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/5.829, allocations: 15.55 kB / 2.035 GB, free: 28.33 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/5.831, allocations: 156 kB / 2.035 GB, free: 28.33 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/5.831, allocations: 85.14 kB / 2.035 GB, free: 28.32 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/5.832, allocations: 86.64 kB / 2.035 GB, free: 28.32 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.001026/5.833, allocations: 0.636 MB / 2.036 GB, free: 28.21 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.81e-07/5.833, allocations: 0 / 2.036 GB, free: 28.21 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.004265/5.837, allocations: 1.251 MB / 2.037 GB, free: 28 MB / 0.5265 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 () * 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.006508/5.843, allocations: 4.927 MB / 2.042 GB, free: 41.38 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.00423/5.848, allocations: 2.052 MB / 2.044 GB, free: 41.05 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/5.848, allocations: 8.625 kB / 2.044 GB, free: 41.04 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/5.849, allocations: 0.5284 MB / 2.044 GB, free: 41.02 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/5.852, allocations: 0.5145 MB / 2.045 GB, free: 40.99 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006247/5.859, allocations: 2.401 MB / 2.047 GB, free: 40.16 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009891/5.86, allocations: 1.417 MB / 2.049 GB, free: 39.43 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001818/5.861, allocations: 320.7 kB / 2.049 GB, free: 39.41 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/5.862, allocations: 0.6516 MB / 2.05 GB, free: 39.41 MB / 0.5421 GB Notification: Performance of SimCode: time 1.092e-06/5.862, allocations: 0 / 2.05 GB, free: 39.41 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09211/5.954, allocations: 55.55 MB / 2.104 GB, free: 2.816 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/5.954, allocations: 125.5 kB / 2.104 GB, free: 2.625 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.367/10.32, allocations: 0 / 2.104 GB, free: 2.625 MB / 0.5421 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)