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.002289/0.002289, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 90.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4528/0.4528, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.275e-05/6.294e-05, allocations: 4 kB / 432.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1943, allocations: 60.26 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.486/2.68, allocations: 0.7165 GB / 1.198 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003992/2.68, allocations: 83.84 kB / 1.198 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.388/6.069, allocations: 0.7968 GB / 1.995 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.304e-06/6.069, allocations: 0 / 1.995 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002237/6.069, allocations: 53.66 kB / 1.995 GB, free: 61.63 MB / 0.5261 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.006954/6.076, allocations: 1.967 MB / 1.997 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/6.076, allocations: 8.531 kB / 1.997 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009456/6.077, allocations: 243.6 kB / 1.997 GB, free: 60.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/6.08, allocations: 369.2 kB / 1.997 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/6.083, allocations: 1.071 MB / 1.998 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/6.083, allocations: 132.1 kB / 1.998 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006511/6.084, allocations: 178.4 kB / 1.999 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005527/6.089, allocations: 1.912 MB / 2 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.863e-05/6.089, allocations: 10.38 kB / 2 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006153/6.09, allocations: 74.53 kB / 2 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/6.09, allocations: 38.81 kB / 2.001 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003616/6.094, allocations: 1.501 MB / 2.002 GB, free: 60.09 MB / 0.5261 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.01442/6.108, allocations: 7.142 MB / 2.009 GB, free: 56.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003705/6.112, allocations: 1.43 MB / 2.01 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/6.113, allocations: 409.1 kB / 2.011 GB, free: 56.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/6.113, allocations: 22.88 kB / 2.011 GB, free: 56.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/6.113, allocations: 61.05 kB / 2.011 GB, free: 56.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=100): time 3.857e-06/6.113, allocations: 0 / 2.011 GB, free: 56.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100): time 0.003415/6.116, allocations: 1.221 MB / 2.012 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/6.116, allocations: 117.8 kB / 2.012 GB, free: 56.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/6.119, allocations: 1.604 MB / 2.014 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/6.12, allocations: 54.8 kB / 2.014 GB, free: 55.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/6.12, allocations: 0.8081 MB / 2.015 GB, free: 55.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/6.12, allocations: 350.9 kB / 2.015 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/6.12, allocations: 31.72 kB / 2.015 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/6.121, allocations: 361.1 kB / 2.015 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/6.121, allocations: 428.8 kB / 2.016 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/6.122, allocations: 0.8234 MB / 2.016 GB, free: 54.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/6.123, allocations: 0.5181 MB / 2.017 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/6.123, allocations: 6.344 kB / 2.017 GB, free: 54.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00286/6.126, allocations: 1.687 MB / 2.019 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009919/6.127, allocations: 5.231 MB / 2.024 GB, free: 48.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/6.127, allocations: 10.88 kB / 2.024 GB, free: 48.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006601/6.133, allocations: 1.006 MB / 2.025 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/6.135, allocations: 338.8 kB / 2.025 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/6.138, allocations: 5.819 MB / 2.031 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/6.14, allocations: 360.6 kB / 2.031 GB, free: 43.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/6.14, allocations: 77.83 kB / 2.031 GB, free: 43.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/6.14, allocations: 6.391 kB / 2.031 GB, free: 43.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002332/6.143, allocations: 1.397 MB / 2.033 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/6.143, allocations: 16.28 kB / 2.033 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/6.143, allocations: 176.7 kB / 2.033 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/6.145, allocations: 436.8 kB / 2.033 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/6.149, allocations: 7.524 MB / 2.04 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/6.151, allocations: 302.3 kB / 2.041 GB, free: 36.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/6.152, allocations: 74.45 kB / 2.041 GB, free: 36.51 MB / 0.5261 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.0006102/6.152, allocations: 208.5 kB / 2.041 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000495/6.153, allocations: 197.7 kB / 2.041 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/6.156, allocations: 1.352 MB / 2.043 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/6.156, allocations: 17.25 kB / 2.043 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/6.156, allocations: 0 / 2.043 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/6.156, allocations: 3.844 kB / 2.043 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/6.161, allocations: 3.134 MB / 2.046 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/6.161, allocations: 8.844 kB / 2.046 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/6.161, allocations: 207 kB / 2.046 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00647/6.168, allocations: 0.9893 MB / 2.047 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/6.168, allocations: 34.3 kB / 2.047 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/6.171, allocations: 5.825 MB / 2.052 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/6.171, allocations: 4.312 kB / 2.052 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/6.174, allocations: 1.834 MB / 2.054 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007554/6.174, allocations: 322.7 kB / 2.055 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/6.175, allocations: 23.28 kB / 2.055 GB, free: 27.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/6.177, allocations: 178.3 kB / 2.055 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/6.177, allocations: 92.88 kB / 2.055 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/6.177, allocations: 83.69 kB / 2.055 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001559/6.179, allocations: 1.222 MB / 2.056 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/6.179, allocations: 0 / 2.056 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003821/6.182, allocations: 1.249 MB / 2.057 GB, free: 26.65 MB / 0.5261 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.005025/6.187, allocations: 4.787 MB / 2.062 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004582/6.192, allocations: 2.196 MB / 2.064 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/6.192, allocations: 5.891 kB / 2.064 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/6.193, allocations: 0.5643 MB / 2.065 GB, free: 20.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006115/6.199, allocations: 1.067 MB / 2.066 GB, free: 20.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/6.206, allocations: 2.655 MB / 2.068 GB, free: 17.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/6.207, allocations: 1.405 MB / 2.07 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002499/6.209, allocations: 0.5946 MB / 2.07 GB, free: 16.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/6.21, allocations: 0.6652 MB / 2.071 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of SimCode: time 9.41e-07/6.21, allocations: 4 kB / 2.071 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5429/6.753, allocations: 90.03 MB / 2.159 GB, free: 63.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/6.753, allocations: 180.8 kB / 2.159 GB, free: 63.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.5/12.25, allocations: 0 / 2.159 GB, free: 63.55 MB / 0.5417 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)