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.001057/0.001057, allocations: 88.12 kB / 16.31 MB, free: 6.449 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.001378/0.001378, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.61/1.61, allocations: 205.4 MB / 223.4 MB, free: 5.266 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4279/0.4279, allocations: 48.78 MB / 320.4 MB, free: 3.859 MB / 254.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.0005653/0.0005656, allocations: 12 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1467, allocations: 60.27 MB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.4563/0.603, allocations: 180.5 MB / 0.6172 GB, free: 8.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004295/0.6074, allocations: 2.161 MB / 0.6193 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.608, allocations: 15.88 kB / 0.6193 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.6091, allocations: 337.9 kB / 0.6196 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.6104, allocations: 0.6565 MB / 0.6202 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.6132, allocations: 0.8805 MB / 0.6211 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002768/0.6159, allocations: 2.476 MB / 0.6235 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009588/0.6169, allocations: 0.5731 MB / 0.6241 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.618, allocations: 0.6967 MB / 0.6248 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3494/0.9674, allocations: 0.7186 MB / 0.6255 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005203/0.9679, allocations: 51.25 kB / 0.6255 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.9704, allocations: 0.6571 MB / 0.6262 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006187/0.9711, allocations: 424.2 kB / 0.6266 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.9717, allocations: 234.2 kB / 0.6268 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.9738, allocations: 1.231 MB / 0.628 GB, free: 6.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.9738, allocations: 0 / 0.628 GB, free: 6.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.9738, allocations: 0 / 0.628 GB, free: 6.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.9739, allocations: 2.531 kB / 0.628 GB, free: 6.461 MB / 494.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.002907/0.9768, allocations: 1.153 MB / 0.6291 GB, free: 5.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.9769, allocations: 8.938 kB / 0.6291 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009193/0.9778, allocations: 179.4 kB / 0.6293 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.9792, allocations: 0.5467 MB / 0.6298 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.9793, allocations: 60.38 kB / 0.6299 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.9794, allocations: 83.16 kB / 0.63 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.9816, allocations: 1.079 MB / 0.631 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.9816, allocations: 0 / 0.631 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.9817, allocations: 33.19 kB / 0.631 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.9817, allocations: 23.78 kB / 0.6311 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.9835, allocations: 0.9091 MB / 0.632 GB, free: 21.47 MB / 0.4981 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.005943/0.9894, allocations: 3.949 MB / 0.6358 GB, free: 19.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.991, allocations: 0.8726 MB / 0.6367 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.9917, allocations: 359.6 kB / 0.637 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.9917, allocations: 22.14 kB / 0.637 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.9918, allocations: 48.75 kB / 0.6371 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.515e-06/0.9918, allocations: 0 / 0.6371 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.01044/1.002, allocations: 3.376 MB / 0.6404 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/1.002, allocations: 113.1 kB / 0.6405 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/1.003, allocations: 0.6423 MB / 0.6411 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.761e-05/1.003, allocations: 41.17 kB / 0.6411 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/1.004, allocations: 372.5 kB / 0.6415 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/1.004, allocations: 234.4 kB / 0.6417 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/1.004, allocations: 20.12 kB / 0.6417 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.004, allocations: 387 kB / 0.6421 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/1.005, allocations: 383.8 kB / 0.6425 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009224/1.006, allocations: 497 kB / 0.643 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/1.007, allocations: 427.6 kB / 0.6434 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.007, allocations: 1.406 kB / 0.6434 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003153/1.01, allocations: 1.348 MB / 0.6447 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/1.01, allocations: 151.3 kB / 0.6448 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.01, allocations: 3.297 kB / 0.6448 GB, free: 16.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00486/1.015, allocations: 0.9913 MB / 0.6458 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/1.015, allocations: 114.2 kB / 0.6459 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/1.018, allocations: 1.438 MB / 0.6473 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.019, allocations: 121.1 kB / 0.6474 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-05/1.019, allocations: 34.5 kB / 0.6475 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.019, allocations: 6.719 kB / 0.6475 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002686/1.022, allocations: 1.077 MB / 0.6485 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.022, allocations: 1.188 kB / 0.6485 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/1.024, allocations: 453.4 kB / 0.649 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/1.024, allocations: 169.1 kB / 0.6491 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/1.026, allocations: 2.19 MB / 0.6513 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/1.027, allocations: 118 kB / 0.6514 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/1.027, allocations: 33.52 kB / 0.6514 GB, free: 14.57 MB / 0.4981 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.0006657/1.028, allocations: 322 kB / 0.6517 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/1.028, allocations: 85.41 kB / 0.6518 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/1.031, allocations: 1.079 MB / 0.6528 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/1.031, allocations: 7.812 kB / 0.6528 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.031, allocations: 2.188 kB / 0.6528 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.031, allocations: 4.266 kB / 0.6529 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003669/1.034, allocations: 2.112 MB / 0.6549 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.034, allocations: 0.875 kB / 0.6549 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/1.035, allocations: 169 kB / 0.6551 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002227/1.037, allocations: 446.3 kB / 0.6555 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/1.038, allocations: 28.48 kB / 0.6555 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/1.04, allocations: 2.786 MB / 0.6582 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.04, allocations: 1.219 kB / 0.6583 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/1.043, allocations: 1.512 MB / 0.6597 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/1.043, allocations: 161.1 kB / 0.6599 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.043, allocations: 21.31 kB / 0.6599 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008671/1.044, allocations: 114.4 kB / 0.66 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/1.044, allocations: 58.12 kB / 0.6601 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/1.045, allocations: 48.31 kB / 0.6601 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005861/1.045, allocations: 456.2 kB / 0.6605 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.045, allocations: 0 / 0.6605 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001586/1.047, allocations: 0.5194 MB / 0.6611 GB, free: 10.87 MB / 0.4981 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.0009668/1.048, allocations: 368 kB / 0.6614 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003521/1.051, allocations: 1.564 MB / 0.6629 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.051, allocations: 3.594 kB / 0.6629 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/1.052, allocations: 0.6059 MB / 0.6635 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/1.055, allocations: 478.7 kB / 0.664 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/1.058, allocations: 2.183 MB / 0.6661 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/1.058, allocations: 0.9992 MB / 0.6671 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001022/1.059, allocations: 179.8 kB / 0.6673 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/1.06, allocations: 66 kB / 0.6673 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/1.06, allocations: 0 / 0.6673 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of Templates: time 0.03779/1.097, allocations: 25.75 MB / 0.6925 GB, free: 10.75 MB / 0.5137 GB 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: