Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.001389/0.001389, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001727/0.001727, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.966/0.966, allocations: 158.6 MB / 187.5 MB, free: 2.801 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.18/0.18, allocations: 36.34 MB / 276.2 MB, free: 14.38 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.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 355.1 MB, free: 62.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.529e-05, allocations: 2.312 kB / 355.1 MB, free: 62.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.02254/0.02255, allocations: 32.31 MB / 387.4 MB, free: 38.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007893/0.03044, allocations: 9.155 MB / 396.5 MB, free: 29.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006123/0.03106, allocations: 19.81 kB / 396.5 MB, free: 29.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006007/0.03166, allocations: 218.3 kB / 396.8 MB, free: 29.06 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006357/0.03229, allocations: 456.6 kB / 397.2 MB, free: 28.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.04419, allocations: 5.181 MB / 402.4 MB, free: 23.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.04543, allocations: 1.233 MB / 403.6 MB, free: 22.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.04587, allocations: 345.5 kB / 404 MB, free: 21.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.04638, allocations: 0.5806 MB / 404.5 MB, free: 21.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.04673, allocations: 386.8 kB / 404.9 MB, free: 20.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.04678, allocations: 44 kB / 405 MB, free: 20.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007388/0.05417, allocations: 5.901 MB / 410.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.05429, allocations: 127.4 kB / 411 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.05458, allocations: 235.5 kB / 411.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006415/0.06099, allocations: 4.704 MB / 415.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.061, allocations: 0 / 415.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.061, allocations: 3.984 kB / 415.9 MB, free: 9.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.06101, allocations: 4 kB / 415.9 MB, free: 9.836 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002344/0.06336, allocations: 1.369 MB / 417.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.0634, allocations: 8.031 kB / 417.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.06375, allocations: 180.4 kB / 417.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.06411, allocations: 393.8 kB / 417.9 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.06414, allocations: 33.38 kB / 417.9 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.06418, allocations: 52.38 kB / 417.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008058/0.06499, allocations: 0.681 MB / 418.6 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.065, allocations: 7.938 kB / 418.6 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.06503, allocations: 20 kB / 418.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.06504, allocations: 16 kB / 418.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.06559, allocations: 379.2 kB / 419 MB, free: 6.59 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.001194/0.06679, allocations: 1.902 MB / 420.9 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.06739, allocations: 403.1 kB / 421.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.36e-05/0.06746, allocations: 71.64 kB / 421.4 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02731/0.09477, allocations: 14.6 MB / 436 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.09481, allocations: 37.39 kB / 436 MB, free: 5.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.374e-06/0.09481, allocations: 0 / 436 MB, free: 5.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.00333/0.09814, allocations: 1.442 MB / 437.5 MB, free: 3.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.09819, allocations: 106.8 kB / 437.6 MB, free: 3.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.09842, allocations: 382.5 kB / 438 MB, free: 3.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.09845, allocations: 29.7 kB / 438 MB, free: 3.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.09861, allocations: 343 kB / 438.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.678e-05/0.0987, allocations: 126.9 kB / 438.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.09881, allocations: 99.28 kB / 438.5 MB, free: 2.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.09895, allocations: 0.5312 MB / 439.1 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.09909, allocations: 127.6 kB / 439.2 MB, free: 2.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.09927, allocations: 268.3 kB / 439.5 MB, free: 1.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.09957, allocations: 319 kB / 439.8 MB, free: 1.551 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.09957, allocations: 0.9062 kB / 439.8 MB, free: 1.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009188/0.1005, allocations: 0.671 MB / 440.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.1005, allocations: 11.94 kB / 440.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1005, allocations: 0 / 440.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.1016, allocations: 0.5185 MB / 441 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.1017, allocations: 31.98 kB / 441 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.1028, allocations: 1.964 MB / 443 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.103, allocations: 8 kB / 443 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.103, allocations: 26.91 kB / 443 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002092/0.1032, allocations: 250.8 kB / 443.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001818/0.1034, allocations: 263.5 kB / 443.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002858/0.1037, allocations: 325.6 kB / 443.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.1037, allocations: 0 / 443.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001077/0.1047, allocations: 0.6405 MB / 444.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.1048, allocations: 8 kB / 444.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.1048, allocations: 0 / 444.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007488/0.1055, allocations: 464.2 kB / 444.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.1056, allocations: 39.97 kB / 445 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.1067, allocations: 1.916 MB / 446.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1069, allocations: 12 kB / 446.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.1069, allocations: 19.98 kB / 446.9 MB, free: 10.17 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 (mixer.fluidState.phase,pressDrop.state.phase,header.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): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.107, allocations: 280.1 kB / 447.2 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.1071, allocations: 63.66 kB / 447.2 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.1085, allocations: 1.637 MB / 448.9 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.1086, allocations: 15.92 kB / 448.9 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1086, allocations: 4 kB / 448.9 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1086, allocations: 7.922 kB / 448.9 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.111, allocations: 2.508 MB / 451.4 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.111, allocations: 0 / 451.4 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.1111, allocations: 43.95 kB / 451.5 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.1122, allocations: 350.4 kB / 451.8 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.1122, allocations: 11.98 kB / 451.8 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.1139, allocations: 3.502 MB / 455.3 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1139, allocations: 0 / 455.3 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.1156, allocations: 2.137 MB / 457.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.1156, allocations: 55.59 kB / 457.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1157, allocations: 4 kB / 457.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1158, allocations: 19.97 kB / 457.5 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.1159, allocations: 23.95 kB / 457.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1159, allocations: 11.98 kB / 457.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.116, allocations: 247 kB / 457.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.116, allocations: 0 / 457.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002284/0.1183, allocations: 0.9946 MB / 458.8 MB, free: 13.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2} * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.1205, allocations: 1.099 MB / 459.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1215, allocations: 0.6442 MB / 460.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1215, allocations: 0 / 460.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.122, allocations: 395.7 kB / 460.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.1227, allocations: 237.8 kB / 461.2 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1241, allocations: 1.183 MB / 462.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.455e-05/0.1242, allocations: 130.8 kB / 462.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1243, allocations: 101.9 kB / 462.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.1246, allocations: 210.1 kB / 462.8 MB, free: 9.848 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1246, allocations: 0 / 462.8 MB, free: 9.848 MB / 378.7 MB Notification: Performance of Templates: time 0.04188/0.1664, allocations: 46.6 MB / 0.4974 GB, free: 11.19 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6927333059720695]