Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.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.TestGasMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer",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.001333/0.001333, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001258/0.001258, allocations: 84.38 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.657/0.657, allocations: 48.77 MB / 367.9 MB, free: 47.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004472, allocations: 8 kB / 438.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1964, allocations: 60.25 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.334/2.531, allocations: 0.7197 GB / 1.207 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/2.531, allocations: 84.55 kB / 1.207 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.593/4.125, allocations: 403.1 MB / 1.601 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.287e-06/4.125, allocations: 4.5 kB / 1.601 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.273e-05/4.125, allocations: 22.59 kB / 1.601 GB, free: 87.46 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002564/4.127, allocations: 1.137 MB / 1.602 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.715e-05/4.127, allocations: 11.47 kB / 1.602 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/4.128, allocations: 139.9 kB / 1.602 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/4.129, allocations: 174.7 kB / 1.602 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/4.13, allocations: 0.6123 MB / 1.603 GB, free: 85.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/4.13, allocations: 64.06 kB / 1.603 GB, free: 85.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/4.13, allocations: 80.25 kB / 1.603 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/4.132, allocations: 1.071 MB / 1.604 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/4.132, allocations: 0 / 1.604 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/4.132, allocations: 35.75 kB / 1.604 GB, free: 85.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/4.132, allocations: 22.39 kB / 1.604 GB, free: 85.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/4.134, allocations: 0.8992 MB / 1.605 GB, free: 84.78 MB / 0.5105 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.005713/4.14, allocations: 3.889 MB / 1.609 GB, free: 81.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/4.141, allocations: 0.8685 MB / 1.61 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.957e-05/4.141, allocations: 16.53 kB / 1.61 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/4.141, allocations: 55.06 kB / 1.61 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 4.458e-06/4.141, allocations: 0 / 1.61 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.01098/4.152, allocations: 3.347 MB / 1.613 GB, free: 77.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/4.152, allocations: 115.4 kB / 1.613 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008326/4.153, allocations: 0.5774 MB / 1.614 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/4.153, allocations: 41.7 kB / 1.614 GB, free: 76.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/4.154, allocations: 376.2 kB / 1.614 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/4.154, allocations: 236.6 kB / 1.614 GB, free: 75.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/4.154, allocations: 16 kB / 1.614 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001278/4.154, allocations: 378.8 kB / 1.615 GB, free: 75.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/4.155, allocations: 389.7 kB / 1.615 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/4.155, allocations: 492.2 kB / 1.615 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007448/4.156, allocations: 422.9 kB / 1.616 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/4.156, allocations: 4 kB / 1.616 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002912/4.159, allocations: 1.368 MB / 1.617 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002518/4.159, allocations: 0.79 MB / 1.618 GB, free: 71.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-05/4.159, allocations: 4 kB / 1.618 GB, free: 71.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004168/4.164, allocations: 0.9281 MB / 1.619 GB, free: 71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/4.164, allocations: 115.9 kB / 1.619 GB, free: 70.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/4.166, allocations: 1.446 MB / 1.62 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/4.168, allocations: 115.8 kB / 1.621 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/4.168, allocations: 35.98 kB / 1.621 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/4.168, allocations: 4 kB / 1.621 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002311/4.17, allocations: 1.083 MB / 1.622 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/4.17, allocations: 0 / 1.622 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/4.172, allocations: 454.3 kB / 1.622 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/4.172, allocations: 171.8 kB / 1.622 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/4.174, allocations: 2.198 MB / 1.624 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009989/4.175, allocations: 112 kB / 1.624 GB, free: 65.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-05/4.175, allocations: 39.92 kB / 1.625 GB, free: 65.15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 33} Notification: Performance of prepare postOptimizeDAE: time 0.000714/4.176, allocations: 320.9 kB / 1.625 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/4.176, allocations: 87.06 kB / 1.625 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/4.178, allocations: 1.08 MB / 1.626 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/4.178, allocations: 8 kB / 1.626 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/4.178, allocations: 0 / 1.626 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/4.179, allocations: 7.984 kB / 1.626 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00399/4.182, allocations: 2.109 MB / 1.628 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/4.183, allocations: 0 / 1.628 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009643/4.184, allocations: 171.9 kB / 1.628 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/4.186, allocations: 410.8 kB / 1.629 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/4.186, allocations: 27.94 kB / 1.629 GB, free: 60.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/4.188, allocations: 2.777 MB / 1.631 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/4.188, allocations: 7.969 kB / 1.631 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/4.191, allocations: 1.557 MB / 1.633 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/4.192, allocations: 160.1 kB / 1.633 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/4.192, allocations: 23.98 kB / 1.633 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/4.193, allocations: 103.8 kB / 1.633 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/4.193, allocations: 52.44 kB / 1.633 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/4.193, allocations: 47.95 kB / 1.633 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006253/4.194, allocations: 463 kB / 1.634 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/4.194, allocations: 0 / 1.634 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0025/4.196, allocations: 0.6013 MB / 1.634 GB, free: 54.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Mixer1.gas.p,Mixer1.gas.Xi[1],Mixer1.gas.Xi[2],Mixer1.gas.T) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.005172/4.202, allocations: 3.339 MB / 1.638 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003779/4.205, allocations: 1.559 MB / 1.639 GB, free: 49.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/4.206, allocations: 4.594 kB / 1.639 GB, free: 49.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/4.207, allocations: 0.6038 MB / 1.64 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/4.209, allocations: 471.8 kB / 1.64 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/4.215, allocations: 4.004 MB / 1.644 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/4.216, allocations: 1.018 MB / 1.645 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001176/4.217, allocations: 177.3 kB / 1.645 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/4.217, allocations: 315.3 kB / 1.645 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/4.217, allocations: 0 / 1.645 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4255/4.643, allocations: 45.92 MB / 1.69 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/4.643, allocations: 201.2 kB / 1.69 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/8.355, allocations: 1.219 kB / 1.69 GB, free: 92.39 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1)