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.001681/0.001681, allocations: 175.1 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 1.839/1.839, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0009321/0.0009321, allocations: 86.66 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.3845/0.3845, allocations: 48.78 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.872e-05/3.875e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1654, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.479/2.645, allocations: 0.7198 GB / 1.201 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/2.645, allocations: 79.95 kB / 1.201 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.779/4.424, allocations: 402.7 MB / 1.594 GB, free: 102 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.048e-06/4.424, allocations: 0 / 1.594 GB, free: 102 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.394e-05/4.424, allocations: 27.67 kB / 1.594 GB, free: 102 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.003224/4.427, allocations: 1.06 MB / 1.595 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/4.427, allocations: 9.781 kB / 1.595 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/4.429, allocations: 166.6 kB / 1.596 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/4.43, allocations: 0.6111 MB / 1.596 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/4.43, allocations: 66.16 kB / 1.596 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/4.43, allocations: 81.72 kB / 1.596 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/4.432, allocations: 0.9954 MB / 1.597 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/4.432, allocations: 0 / 1.597 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/4.432, allocations: 31.75 kB / 1.597 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/4.432, allocations: 18.66 kB / 1.597 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/4.434, allocations: 0.7707 MB / 1.598 GB, free: 99.71 MB / 0.5105 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.006241/4.44, allocations: 3.884 MB / 1.602 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/4.441, allocations: 0.7899 MB / 1.603 GB, free: 95.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/4.442, allocations: 296.3 kB / 1.603 GB, free: 95.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/4.442, allocations: 14.19 kB / 1.603 GB, free: 95.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/4.442, allocations: 49.52 kB / 1.603 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 5.991e-06/4.442, allocations: 0 / 1.603 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.007385/4.449, allocations: 2.342 MB / 1.605 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/4.45, allocations: 111.1 kB / 1.605 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008139/4.45, allocations: 0.5765 MB / 1.606 GB, free: 93.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.423e-05/4.451, allocations: 42.61 kB / 1.606 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/4.451, allocations: 375.2 kB / 1.606 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/4.451, allocations: 233.3 kB / 1.607 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/4.451, allocations: 11.47 kB / 1.607 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001614/4.451, allocations: 387.6 kB / 1.607 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/4.452, allocations: 300.7 kB / 1.607 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/4.452, allocations: 404.8 kB / 1.608 GB, free: 92.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/4.453, allocations: 345.3 kB / 1.608 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/4.453, allocations: 0 / 1.608 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00224/4.455, allocations: 1.159 MB / 1.609 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003424/4.455, allocations: 0.7908 MB / 1.61 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/4.455, allocations: 7.891 kB / 1.61 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003768/4.459, allocations: 0.8558 MB / 1.611 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/4.46, allocations: 117 kB / 1.611 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/4.462, allocations: 1.381 MB / 1.612 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/4.463, allocations: 117.7 kB / 1.612 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.963e-05/4.463, allocations: 34.77 kB / 1.612 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/4.463, allocations: 9.094 kB / 1.612 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002082/4.465, allocations: 0.9539 MB / 1.613 GB, free: 88.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/4.465, allocations: 3.953 kB / 1.613 GB, free: 88.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/4.467, allocations: 456.8 kB / 1.614 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/4.467, allocations: 167.8 kB / 1.614 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/4.469, allocations: 2.184 MB / 1.616 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009837/4.47, allocations: 119.3 kB / 1.616 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/4.47, allocations: 35.98 kB / 1.616 GB, free: 85.77 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 () * 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.0004735/4.471, allocations: 149.3 kB / 1.616 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/4.471, allocations: 79.06 kB / 1.616 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/4.473, allocations: 0.9401 MB / 1.617 GB, free: 84.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/4.473, allocations: 7.891 kB / 1.617 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/4.473, allocations: 4 kB / 1.617 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/4.473, allocations: 3.984 kB / 1.617 GB, free: 84.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/4.477, allocations: 1.962 MB / 1.619 GB, free: 82.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/4.477, allocations: 0 / 1.619 GB, free: 82.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/4.478, allocations: 179.3 kB / 1.619 GB, free: 82.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/4.48, allocations: 362.5 kB / 1.62 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/4.48, allocations: 23.98 kB / 1.62 GB, free: 82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/4.483, allocations: 2.732 MB / 1.622 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/4.483, allocations: 0 / 1.622 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/4.485, allocations: 1.356 MB / 1.624 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/4.486, allocations: 154.8 kB / 1.624 GB, free: 77.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/4.486, allocations: 23.94 kB / 1.624 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009951/4.487, allocations: 101.9 kB / 1.624 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/4.487, allocations: 52.48 kB / 1.624 GB, free: 77.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.103e-05/4.487, allocations: 43.95 kB / 1.624 GB, free: 77.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000627/4.488, allocations: 462.1 kB / 1.625 GB, free: 76.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/4.488, allocations: 0 / 1.625 GB, free: 76.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002209/4.49, allocations: 0.6028 MB / 1.625 GB, free: 76.25 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 () * 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.002381/4.492, allocations: 1.043 MB / 1.626 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003135/4.495, allocations: 1.36 MB / 1.627 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/4.495, allocations: 4.781 kB / 1.627 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009427/4.496, allocations: 0.5377 MB / 1.628 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/4.499, allocations: 470.2 kB / 1.628 GB, free: 73.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/4.502, allocations: 1.358 MB / 1.63 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/4.502, allocations: 1.016 MB / 1.631 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001194/4.503, allocations: 248.8 kB / 1.631 GB, free: 70.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/4.504, allocations: 67.42 kB / 1.631 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.274e-06/4.504, allocations: 0 / 1.631 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.06077/4.564, allocations: 40.01 MB / 1.67 GB, free: 30.54 MB / 0.5105 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)