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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 96.97 kB / 16.3 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001356, allocations: 182 kB / 17.19 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3139/0.3139, allocations: 48.78 MB / 320.4 MB, free: 11.31 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005964/0.0005967, allocations: 13.81 kB / 391.1 MB, free: 50.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1319, allocations: 60.28 MB / 451.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.4694/0.6014, allocations: 151.5 MB / 0.5887 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00387/0.6053, allocations: 2.115 MB / 0.5908 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.606, allocations: 11.81 kB / 0.5908 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.6073, allocations: 369.6 kB / 0.5912 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.6087, allocations: 0.5141 MB / 0.5917 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.6116, allocations: 0.8754 MB / 0.5925 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.6138, allocations: 1.179 MB / 0.5937 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.6149, allocations: 0.5738 MB / 0.5942 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.6165, allocations: 0.6586 MB / 0.5949 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.6174, allocations: 0.5035 MB / 0.5954 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.6175, allocations: 52.47 kB / 0.5954 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.6194, allocations: 0.5566 MB / 0.596 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.6198, allocations: 393.2 kB / 0.5963 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.6203, allocations: 230.1 kB / 0.5966 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.6219, allocations: 1.212 MB / 0.5977 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.6219, allocations: 2.812 kB / 0.5977 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6219, allocations: 7.938 kB / 0.5978 GB, free: 11.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.622, allocations: 0 / 0.5978 GB, free: 11.41 MB / 430.1 MB 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.0023/0.6243, allocations: 1.147 MB / 0.5989 GB, free: 10.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.6243, allocations: 7.406 kB / 0.5989 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009109/0.6253, allocations: 182.5 kB / 0.5991 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009023/0.6262, allocations: 0.5488 MB / 0.5996 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.6262, allocations: 59.38 kB / 0.5996 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.6264, allocations: 87.69 kB / 0.5997 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.6283, allocations: 1.07 MB / 0.6008 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.6283, allocations: 3.938 kB / 0.6008 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.6285, allocations: 36.97 kB / 0.6008 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.6285, allocations: 22.53 kB / 0.6008 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.6303, allocations: 0.9103 MB / 0.6017 GB, free: 9.734 MB / 430.1 MB 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.006139/0.6364, allocations: 3.922 MB / 0.6056 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.6382, allocations: 0.8724 MB / 0.6064 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.6382, allocations: 16.47 kB / 0.6064 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.6383, allocations: 45.52 kB / 0.6065 GB, free: 6.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=61): time 2.685e-06/0.6383, allocations: 1.859 kB / 0.6065 GB, free: 6.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=67): time 0.01056/0.6489, allocations: 3.358 MB / 0.6097 GB, free: 5.305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.649, allocations: 112.8 kB / 0.6099 GB, free: 5.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008286/0.6498, allocations: 0.6466 MB / 0.6105 GB, free: 4.941 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.65, allocations: 42.7 kB / 0.6105 GB, free: 4.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.6502, allocations: 368.8 kB / 0.6109 GB, free: 4.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.6504, allocations: 231.4 kB / 0.6111 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.6505, allocations: 16.81 kB / 0.6111 GB, free: 4.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.6507, allocations: 385 kB / 0.6115 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/0.6514, allocations: 385.7 kB / 0.6118 GB, free: 4.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000806/0.6522, allocations: 498.4 kB / 0.6123 GB, free: 3.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.6531, allocations: 425.1 kB / 0.6127 GB, free: 3.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6531, allocations: 0 / 0.6127 GB, free: 3.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002933/0.656, allocations: 1.357 MB / 0.6141 GB, free: 3.609 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003585/0.6564, allocations: 0.7923 MB / 0.6148 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.6564, allocations: 5.812 kB / 0.6148 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/0.6612, allocations: 0.9857 MB / 0.6158 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/0.6618, allocations: 114.9 kB / 0.6159 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.6642, allocations: 1.435 MB / 0.6173 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6653, allocations: 123.5 kB / 0.6174 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/0.6654, allocations: 31.92 kB / 0.6175 GB, free: 1.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.6655, allocations: 4 kB / 0.6175 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002473/0.6679, allocations: 1.081 MB / 0.6185 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.668, allocations: 1.859 kB / 0.6185 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.6698, allocations: 449.9 kB / 0.6189 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.6705, allocations: 175.8 kB / 0.6191 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.6726, allocations: 2.186 MB / 0.6212 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/0.6736, allocations: 116 kB / 0.6214 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/0.6737, allocations: 32 kB / 0.6214 GB, free: 13.83 MB / 446.1 MB 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.0006561/0.6743, allocations: 324.9 kB / 0.6217 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.6745, allocations: 87.05 kB / 0.6218 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.677, allocations: 1.079 MB / 0.6228 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.677, allocations: 8 kB / 0.6228 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.677, allocations: 3.984 kB / 0.6228 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.677, allocations: 3.984 kB / 0.6228 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.6809, allocations: 2.11 MB / 0.6249 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6809, allocations: 4 kB / 0.6249 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009281/0.6819, allocations: 175.9 kB / 0.6251 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/0.6844, allocations: 437.3 kB / 0.6255 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/0.6844, allocations: 19.98 kB / 0.6255 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.6869, allocations: 2.792 MB / 0.6282 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6869, allocations: 4.031 kB / 0.6282 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.6899, allocations: 1.558 MB / 0.6298 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.6902, allocations: 160.2 kB / 0.6299 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.6904, allocations: 16 kB / 0.6299 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/0.6913, allocations: 109.5 kB / 0.63 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.6914, allocations: 68.41 kB / 0.6301 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/0.6915, allocations: 43.95 kB / 0.6301 GB, free: 4.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005769/0.6921, allocations: 463 kB / 0.6306 GB, free: 4.047 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6921, allocations: 0 / 0.6306 GB, free: 4.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001516/0.6937, allocations: 0.5116 MB / 0.6311 GB, free: 3.535 MB / 446.1 MB 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.001037/0.6947, allocations: 370.1 kB / 0.6314 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003878/0.6986, allocations: 1.57 MB / 0.633 GB, free: 1.613 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.6986, allocations: 2.766 kB / 0.633 GB, free: 1.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.6999, allocations: 0.6073 MB / 0.6336 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.7022, allocations: 469.8 kB / 0.634 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.7053, allocations: 2.17 MB / 0.6361 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.7059, allocations: 1.014 MB / 0.6371 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008838/0.7068, allocations: 186.1 kB / 0.6373 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.707, allocations: 63.42 kB / 0.6374 GB, free: 13.04 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.707, allocations: 4 kB / 0.6374 GB, free: 13.04 MB / 462.1 MB Notification: Performance of Templates: time 0.04518/0.7522, allocations: 26.19 MB / 0.6629 GB, free: 2.82 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: