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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 80.31 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 167.2 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8987/0.8987, allocations: 158.6 MB / 187.5 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1632/0.1632, allocations: 36.33 MB / 276.2 MB, free: 14.36 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 355 MB, free: 62.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.216e-05, allocations: 2.312 kB / 355 MB, free: 62.59 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.1037/0.1037, allocations: 145.4 MB / 0.4888 GB, free: 4.902 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.106, allocations: 1.624 MB / 0.4903 GB, free: 3.281 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.1062, allocations: 15.88 kB / 0.4904 GB, free: 3.266 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004753/0.1067, allocations: 194.5 kB / 0.4905 GB, free: 3.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1077, allocations: 0.7064 MB / 0.4912 GB, free: 2.363 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1091, allocations: 0.9001 MB / 0.4921 GB, free: 1.461 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.1106, allocations: 2.103 MB / 0.4942 GB, free: 15.35 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006757/0.1113, allocations: 0.6251 MB / 0.4948 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.1123, allocations: 1.029 MB / 0.4958 GB, free: 13.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.1129, allocations: 0.6544 MB / 0.4964 GB, free: 13.02 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.113, allocations: 100 kB / 0.4965 GB, free: 12.92 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.1134, allocations: 331.3 kB / 0.4968 GB, free: 12.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.1137, allocations: 498.8 kB / 0.4973 GB, free: 12.11 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.1141, allocations: 483.1 kB / 0.4978 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1152, allocations: 1.168 MB / 0.4989 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1152, allocations: 7.984 kB / 0.4989 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1152, allocations: 4 kB / 0.4989 GB, free: 10.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1152, allocations: 0 / 0.4989 GB, free: 10.45 MB / 426.7 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.001274/0.1165, allocations: 1.325 MB / 0.5002 GB, free: 9.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.1165, allocations: 8.031 kB / 0.5002 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00056/0.117, allocations: 303.6 kB / 0.5005 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.1175, allocations: 0.501 MB / 0.501 GB, free: 8.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.1176, allocations: 58.38 kB / 0.5011 GB, free: 8.199 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.1177, allocations: 100.4 kB / 0.5011 GB, free: 8.102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008863/0.1186, allocations: 1.327 MB / 0.5024 GB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1186, allocations: 0 / 0.5024 GB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.1186, allocations: 40 kB / 0.5025 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1187, allocations: 16 kB / 0.5025 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.119, allocations: 309.6 kB / 0.5028 GB, free: 6.238 MB / 426.7 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.0024/0.1214, allocations: 1.887 MB / 0.5046 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.1222, allocations: 403.3 kB / 0.505 GB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.1224, allocations: 141.5 kB / 0.5052 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.1224, allocations: 12.5 kB / 0.5052 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1224, allocations: 45.89 kB / 0.5052 GB, free: 3.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 1.843e-06/0.1224, allocations: 4 kB / 0.5052 GB, free: 3.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.003876/0.1263, allocations: 1.884 MB / 0.5071 GB, free: 1.746 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1263, allocations: 115.5 kB / 0.5072 GB, free: 1.609 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.1266, allocations: 454.3 kB / 0.5076 GB, free: 1.145 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.1266, allocations: 45.7 kB / 0.5076 GB, free: 1.094 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.1268, allocations: 443.2 kB / 0.5081 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1269, allocations: 249.8 kB / 0.5083 GB, free: 416 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.1271, allocations: 148.2 kB / 0.5084 GB, free: 260 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.1429/0.2699, allocations: 0.5546 MB / 0.509 GB, free: 24.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.2703, allocations: 126.7 kB / 0.5091 GB, free: 24.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.2705, allocations: 315.2 kB / 0.5094 GB, free: 24.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.2709, allocations: 390.8 kB / 0.5098 GB, free: 24.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2709, allocations: 3.188 kB / 0.5098 GB, free: 24.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001178/0.272, allocations: 0.7875 MB / 0.5106 GB, free: 24.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2721, allocations: 6.562 kB / 0.5106 GB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2721, allocations: 0 / 0.5106 GB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.2741, allocations: 0.8386 MB / 0.5114 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.2743, allocations: 102.5 kB / 0.5115 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008523/0.2752, allocations: 1.214 MB / 0.5127 GB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.2754, allocations: 39.06 kB / 0.5127 GB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.2755, allocations: 31.91 kB / 0.5127 GB, free: 23.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002156/0.2757, allocations: 245.3 kB / 0.513 GB, free: 23.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001748/0.2759, allocations: 329.8 kB / 0.5133 GB, free: 22.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000289/0.2762, allocations: 394.6 kB / 0.5137 GB, free: 22.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.2762, allocations: 2.281 kB / 0.5137 GB, free: 22.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0008398/0.277, allocations: 0.6716 MB / 0.5143 GB, free: 22.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.277, allocations: 6.266 kB / 0.5143 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.277, allocations: 3.562 kB / 0.5143 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007054/0.2777, allocations: 373.5 kB / 0.5147 GB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.2781, allocations: 168.2 kB / 0.5148 GB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006726/0.2787, allocations: 2.809 MB / 0.5176 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.279, allocations: 31.31 kB / 0.5176 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.279, allocations: 28.08 kB / 0.5176 GB, free: 20.08 MB / 426.7 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.2791, allocations: 304.8 kB / 0.5179 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.2792, allocations: 94.23 kB / 0.518 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.28, allocations: 0.6079 MB / 0.5186 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.28, allocations: 6.062 kB / 0.5186 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.28, allocations: 2.906 kB / 0.5186 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.28, allocations: 3.641 kB / 0.5186 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.2813, allocations: 1.308 MB / 0.5199 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2813, allocations: 1.031 kB / 0.5199 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.2817, allocations: 161.8 kB / 0.5201 GB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009923/0.2827, allocations: 351.9 kB / 0.5204 GB, free: 19.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.2827, allocations: 27.69 kB / 0.5204 GB, free: 19.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007811/0.2835, allocations: 3.548 MB / 0.5239 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2835, allocations: 1.094 kB / 0.5239 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008798/0.2844, allocations: 0.9444 MB / 0.5248 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.2845, allocations: 67.77 kB / 0.5249 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.2845, allocations: 16.78 kB / 0.5249 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.2848, allocations: 43.62 kB / 0.5249 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.2849, allocations: 68.23 kB / 0.525 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.2849, allocations: 48.05 kB / 0.525 GB, free: 15.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2851, allocations: 281.8 kB / 0.5253 GB, free: 15.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2851, allocations: 0.9375 kB / 0.5253 GB, free: 15.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006961/0.2858, allocations: 490.9 kB / 0.5258 GB, free: 15.4 MB / 426.7 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00045/0.2862, allocations: 290.2 kB / 0.5261 GB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.2874, allocations: 0.8689 MB / 0.5269 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2874, allocations: 3.844 kB / 0.5269 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.2879, allocations: 460.1 kB / 0.5273 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/0.2888, allocations: 382.4 kB / 0.5277 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.2917, allocations: 1.837 MB / 0.5295 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.2918, allocations: 192.7 kB / 0.5297 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003605/0.2921, allocations: 130.5 kB / 0.5298 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/0.2929, allocations: 467.5 kB / 0.5303 GB, free: 14.16 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2929, allocations: 0 / 0.5303 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Templates: time 0.02493/0.3178, allocations: 25.74 MB / 0.5554 GB, free: 7.75 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.049239316955209]