Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.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.001058/0.001058, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001559/0.001559, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.8748/0.8748, allocations: 158.6 MB / 186.4 MB, free: 2.926 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.1933/0.1933, allocations: 36.33 MB / 275.1 MB, free: 10.64 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.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.59e-05, allocations: 9.688 kB / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.0158/0.01583, allocations: 15.9 MB / 369.7 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.02609, allocations: 9.157 MB / 378.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003779/0.02647, allocations: 19.81 kB / 378.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.02694, allocations: 142.8 kB / 379 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.02749, allocations: 369.3 kB / 379.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.03805, allocations: 4.514 MB / 383.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.03908, allocations: 0.9882 MB / 384.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.03952, allocations: 281.1 kB / 385.2 MB, free: 3.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.03999, allocations: 482.8 kB / 385.6 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000381/0.04037, allocations: 303.1 kB / 385.9 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.04042, allocations: 36 kB / 386 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009749/0.05017, allocations: 5.903 MB / 391.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.05029, allocations: 99.53 kB / 392 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.05055, allocations: 211.5 kB / 392.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009855/0.0604, allocations: 4.626 MB / 396.8 MB, free: 8.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.06042, allocations: 4 kB / 396.8 MB, free: 8.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.06042, allocations: 0 / 396.8 MB, free: 8.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.06043, allocations: 0 / 396.8 MB, free: 8.27 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003285/0.06372, allocations: 1.265 MB / 398.1 MB, free: 6.965 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.06376, allocations: 16.03 kB / 398.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.06415, allocations: 164.5 kB / 398.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.06457, allocations: 322.8 kB / 398.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.0646, allocations: 33.38 kB / 398.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.06466, allocations: 44.38 kB / 398.6 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.06572, allocations: 0.6819 MB / 399.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.06573, allocations: 7.875 kB / 399.3 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.06576, allocations: 16 kB / 399.3 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.06578, allocations: 11.98 kB / 399.4 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000718/0.06649, allocations: 412.4 kB / 399.8 MB, free: 5.191 MB / 330.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.00157/0.06806, allocations: 1.603 MB / 401.4 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.06892, allocations: 419 kB / 401.8 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.06904, allocations: 83.64 kB / 401.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02982/0.09886, allocations: 16.81 MB / 418.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.09891, allocations: 45.33 kB / 418.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.644e-06/0.09891, allocations: 0 / 418.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.003812/0.1027, allocations: 1.561 MB / 420.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1028, allocations: 110.8 kB / 420.4 MB, free: 408 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.103, allocations: 338.8 kB / 420.7 MB, free: 56 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1031, allocations: 29.7 kB / 420.7 MB, free: 20 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.1032, allocations: 307.2 kB / 421 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.647e-05/0.1033, allocations: 115 kB / 421.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.1035, allocations: 99.31 kB / 421.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003315/0.1038, allocations: 0.5235 MB / 421.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.104, allocations: 159.5 kB / 421.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.1043, allocations: 280.6 kB / 422.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.1047, allocations: 377.8 kB / 422.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1047, allocations: 0 / 422.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001191/0.1059, allocations: 0.7381 MB / 423.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.1059, allocations: 4 kB / 423.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1059, allocations: 160 / 423.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.1073, allocations: 0.5459 MB / 423.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1074, allocations: 31.98 kB / 423.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.1086, allocations: 1.202 MB / 425.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1088, allocations: 8 kB / 425.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.1088, allocations: 31.97 kB / 425.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002925/0.1091, allocations: 274.6 kB / 425.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002529/0.1093, allocations: 296.3 kB / 425.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004189/0.1098, allocations: 373.6 kB / 426 MB, free: 10.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.1098, allocations: 0 / 426 MB, free: 10.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001016/0.1108, allocations: 0.6762 MB / 426.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1108, allocations: 4 kB / 426.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1108, allocations: 0 / 426.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009071/0.1117, allocations: 487.4 kB / 427.2 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1118, allocations: 39.92 kB / 427.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.1133, allocations: 1.163 MB / 428.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.1135, allocations: 16 kB / 428.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.1136, allocations: 28.05 kB / 428.4 MB, free: 8.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.1138, allocations: 295.9 kB / 428.7 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/0.1139, allocations: 51.7 kB / 428.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.1158, allocations: 1.859 MB / 430.6 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.1158, allocations: 19.86 kB / 430.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1158, allocations: 4 kB / 430.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1158, allocations: 0 / 430.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.1183, allocations: 2.769 MB / 433.4 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1183, allocations: 0 / 433.4 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.1187, allocations: 79.88 kB / 433.5 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.1197, allocations: 298.8 kB / 433.8 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.1197, allocations: 12 kB / 433.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.1218, allocations: 3.616 MB / 437.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1218, allocations: 0 / 437.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.1239, allocations: 2.469 MB / 439.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.124, allocations: 43.61 kB / 439.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.124, allocations: 8 kB / 440 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1242, allocations: 19.97 kB / 440 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.1242, allocations: 31.88 kB / 440 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1243, allocations: 15.94 kB / 440 MB, free: 12.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1244, allocations: 231.1 kB / 440.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1244, allocations: 0 / 440.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002426/0.1268, allocations: 0.9672 MB / 441.2 MB, free: 10.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {2, 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00242/0.1292, allocations: 1.075 MB / 442.3 MB, free: 9.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.1305, allocations: 0.713 MB / 443 MB, free: 9.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1305, allocations: 0 / 443 MB, free: 9.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007289/0.1312, allocations: 439.8 kB / 443.4 MB, free: 8.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.1319, allocations: 204.8 kB / 443.6 MB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.1335, allocations: 1.092 MB / 444.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.063e-05/0.1336, allocations: 126.8 kB / 444.8 MB, free: 7.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.1337, allocations: 90.86 kB / 444.9 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.1338, allocations: 32.5 kB / 445 MB, free: 7.039 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1338, allocations: 0 / 445 MB, free: 7.039 MB / 378.7 MB Notification: Performance of Templates: time 0.1761/0.3098, allocations: 39.91 MB / 484.9 MB, free: 65.49 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.612564684823155]