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: translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001938/0.001938, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, 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.0008282/0.0008283, allocations: 83.89 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6335/0.6335, allocations: 48.77 MB / 358.8 MB, free: 53.1 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.439e-05/1.442e-05, allocations: 0 / 425.3 MB, free: 8.242 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1744, allocations: 60.27 MB / 485.6 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.582/2.756, allocations: 0.719 GB / 1.193 GB, free: 105.2 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/2.757, allocations: 79.95 kB / 1.193 GB, free: 105.1 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.756/4.513, allocations: 398.1 MB / 1.582 GB, free: 94.95 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.813e-06/4.513, allocations: 0 / 1.582 GB, free: 94.95 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.842e-05/4.513, allocations: 24.75 kB / 1.582 GB, free: 94.95 MB / 0.5108 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.002416/4.515, allocations: 1.063 MB / 1.583 GB, free: 94.36 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/4.516, allocations: 14.2 kB / 1.583 GB, free: 94.36 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/4.516, allocations: 170.6 kB / 1.583 GB, free: 94.31 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/4.518, allocations: 0.612 MB / 1.584 GB, free: 94.02 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/4.518, allocations: 25.03 kB / 1.584 GB, free: 94.02 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/4.518, allocations: 46.88 kB / 1.584 GB, free: 94.02 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001302/4.519, allocations: 0.7641 MB / 1.585 GB, free: 94 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/4.521, allocations: 0.8768 MB / 1.586 GB, free: 93.74 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/4.521, allocations: 0 / 1.586 GB, free: 93.74 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-05/4.521, allocations: 3.375 kB / 1.586 GB, free: 93.74 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/4.521, allocations: 19.16 kB / 1.586 GB, free: 93.74 MB / 0.5108 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.005336/4.526, allocations: 3.679 MB / 1.589 GB, free: 91.14 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/4.527, allocations: 0.8013 MB / 1.59 GB, free: 90.7 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/4.528, allocations: 290.3 kB / 1.59 GB, free: 90.58 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/4.528, allocations: 23.55 kB / 1.59 GB, free: 90.58 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/4.528, allocations: 50.22 kB / 1.59 GB, free: 90.53 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=61): time 2.915e-06/4.528, allocations: 0 / 1.59 GB, free: 90.53 MB / 0.5108 GB Notification: Performance of matching and sorting (n=67): time 0.007293/4.535, allocations: 2.288 MB / 1.593 GB, free: 89.38 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/4.535, allocations: 110.4 kB / 1.593 GB, free: 89.25 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/4.536, allocations: 374.9 kB / 1.593 GB, free: 89.06 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/4.536, allocations: 28.55 kB / 1.593 GB, free: 89.03 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/4.536, allocations: 390.5 kB / 1.593 GB, free: 88.73 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/4.536, allocations: 223.5 kB / 1.594 GB, free: 88.55 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/4.537, allocations: 0 / 1.594 GB, free: 88.55 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001574/4.537, allocations: 370.3 kB / 1.594 GB, free: 88.21 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/4.537, allocations: 307.4 kB / 1.594 GB, free: 88.09 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/4.538, allocations: 399.6 kB / 1.595 GB, free: 87.87 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/4.538, allocations: 362.6 kB / 1.595 GB, free: 87.73 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/4.538, allocations: 3.938 kB / 1.595 GB, free: 87.73 MB / 0.5108 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002236/4.541, allocations: 1.141 MB / 1.596 GB, free: 87.3 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002969/4.541, allocations: 0.7876 MB / 1.597 GB, free: 86.47 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/4.541, allocations: 3.938 kB / 1.597 GB, free: 86.47 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/4.544, allocations: 0.7393 MB / 1.598 GB, free: 86.33 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/4.544, allocations: 114.2 kB / 1.598 GB, free: 86.32 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/4.547, allocations: 1.511 MB / 1.599 GB, free: 85.42 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/4.548, allocations: 106.6 kB / 1.599 GB, free: 85.41 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/4.548, allocations: 37.94 kB / 1.599 GB, free: 85.41 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/4.548, allocations: 3.562 kB / 1.599 GB, free: 85.41 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001998/4.55, allocations: 0.8771 MB / 1.6 GB, free: 85.12 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/4.55, allocations: 0 / 1.6 GB, free: 85.12 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/4.551, allocations: 423.7 kB / 1.601 GB, free: 85.04 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/4.552, allocations: 172.9 kB / 1.601 GB, free: 85.03 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/4.554, allocations: 2.231 MB / 1.603 GB, free: 83.12 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009249/4.555, allocations: 97.25 kB / 1.603 GB, free: 83.12 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-05/4.555, allocations: 35.2 kB / 1.603 GB, free: 83.11 MB / 0.5108 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 () * 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.0004146/4.555, allocations: 118.8 kB / 1.603 GB, free: 83 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/4.556, allocations: 59.38 kB / 1.603 GB, free: 82.97 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/4.557, allocations: 0.8803 MB / 1.604 GB, free: 82.61 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/4.558, allocations: 6.875 kB / 1.604 GB, free: 82.61 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/4.558, allocations: 6.969 kB / 1.604 GB, free: 82.61 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/4.558, allocations: 3.891 kB / 1.604 GB, free: 82.61 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/4.561, allocations: 1.8 MB / 1.606 GB, free: 81.7 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/4.561, allocations: 3.609 kB / 1.606 GB, free: 81.7 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/4.562, allocations: 179.1 kB / 1.606 GB, free: 81.68 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009359/4.563, allocations: 265.1 kB / 1.606 GB, free: 81.62 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/4.563, allocations: 15.31 kB / 1.606 GB, free: 81.61 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/4.565, allocations: 2.718 MB / 1.609 GB, free: 79.1 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/4.565, allocations: 3.812 kB / 1.609 GB, free: 79.1 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/4.567, allocations: 1.292 MB / 1.61 GB, free: 78.41 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/4.568, allocations: 136.6 kB / 1.61 GB, free: 78.28 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/4.568, allocations: 6 kB / 1.61 GB, free: 78.28 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009993/4.569, allocations: 89.39 kB / 1.61 GB, free: 78.27 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/4.569, allocations: 64.16 kB / 1.611 GB, free: 78.26 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/4.569, allocations: 49.17 kB / 1.611 GB, free: 78.25 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0004747/4.57, allocations: 284 kB / 1.611 GB, free: 78.1 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.5e-07/4.57, allocations: 3.062 kB / 1.611 GB, free: 78.1 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002475/4.572, allocations: 0.5293 MB / 1.611 GB, free: 78.03 MB / 0.5108 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 () * 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.002894/4.575, allocations: 1.192 MB / 1.613 GB, free: 77.79 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003212/4.578, allocations: 1.322 MB / 1.614 GB, free: 77.34 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/4.578, allocations: 4.594 kB / 1.614 GB, free: 77.34 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0008582/4.579, allocations: 0.5155 MB / 1.614 GB, free: 77.08 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/4.581, allocations: 311.2 kB / 1.615 GB, free: 76.96 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/4.584, allocations: 1.289 MB / 1.616 GB, free: 76.17 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/4.584, allocations: 1.014 MB / 1.617 GB, free: 75.31 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0008933/4.585, allocations: 176.9 kB / 1.617 GB, free: 75.25 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/4.585, allocations: 58.42 kB / 1.617 GB, free: 75.23 MB / 0.5108 GB Notification: Performance of SimCode: time 1.392e-06/4.585, allocations: 0 / 1.617 GB, free: 75.23 MB / 0.5108 GB Notification: Performance of Templates: time 0.03991/4.625, allocations: 26.04 MB / 1.643 GB, free: 53.48 MB / 0.5108 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1)