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.001578/0.001578, 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.001845/0.001845, allocations: 163.9 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.9295/0.9295, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.1996/0.1996, allocations: 36.35 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.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.483e-06/1.483e-06, allocations: 0 / 355.1 MB, free: 62.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.604e-05, allocations: 2.969 kB / 355.1 MB, free: 62.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam): time 0.01351/0.01353, allocations: 15.73 MB / 370.8 MB, free: 52.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007338/0.02086, allocations: 9.009 MB / 379.8 MB, free: 45.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.02125, allocations: 13.25 kB / 379.8 MB, free: 45.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.02169, allocations: 150.3 kB / 380 MB, free: 45.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.02213, allocations: 361.6 kB / 380.3 MB, free: 45.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.03253, allocations: 4.519 MB / 384.8 MB, free: 41.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009441/0.03348, allocations: 0.9921 MB / 385.8 MB, free: 40.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.03384, allocations: 273.6 kB / 386.1 MB, free: 39.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.03421, allocations: 486.8 kB / 386.6 MB, free: 39.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.03448, allocations: 303.1 kB / 386.9 MB, free: 38.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.03452, allocations: 36 kB / 386.9 MB, free: 38.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007508/0.04203, allocations: 5.91 MB / 392.8 MB, free: 33.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.04213, allocations: 103.6 kB / 392.9 MB, free: 32.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.04238, allocations: 199.5 kB / 393.1 MB, free: 32.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00747/0.04985, allocations: 4.63 MB / 397.7 MB, free: 28.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.04985, allocations: 4 kB / 397.7 MB, free: 28.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.04985, allocations: 0 / 397.7 MB, free: 28.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.04986, allocations: 0 / 397.7 MB, free: 28.1 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.002265/0.05213, allocations: 1.28 MB / 399 MB, free: 26.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.05216, allocations: 8.031 kB / 399 MB, free: 26.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003348/0.0525, allocations: 164.4 kB / 399.2 MB, free: 26.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.0528, allocations: 326.8 kB / 399.5 MB, free: 26.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.05282, allocations: 29.38 kB / 399.5 MB, free: 26.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.05287, allocations: 48.36 kB / 399.6 MB, free: 26.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.05361, allocations: 0.6356 MB / 400.2 MB, free: 25.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.05362, allocations: 7.938 kB / 400.2 MB, free: 25.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.05364, allocations: 16 kB / 400.2 MB, free: 25.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.05365, allocations: 8 kB / 400.2 MB, free: 25.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.05418, allocations: 359.3 kB / 400.6 MB, free: 25.11 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.001004/0.05519, allocations: 1.556 MB / 402.2 MB, free: 23.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.05578, allocations: 400.8 kB / 402.5 MB, free: 23.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.05584, allocations: 71.64 kB / 402.6 MB, free: 23.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02447/0.08031, allocations: 14.6 MB / 417.2 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.08034, allocations: 45.33 kB / 417.3 MB, free: 8.363 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/0.08034, allocations: 0 / 417.3 MB, free: 8.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.00344/0.08379, allocations: 1.402 MB / 418.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.08381, allocations: 106.8 kB / 418.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.084, allocations: 346.5 kB / 419.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.08403, allocations: 29.7 kB / 419.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.08413, allocations: 303.2 kB / 419.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.0842, allocations: 111 kB / 419.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.08432, allocations: 107.2 kB / 419.6 MB, free: 5.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.08438, allocations: 0.5234 MB / 420.2 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.08454, allocations: 128.8 kB / 420.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.08472, allocations: 272.2 kB / 420.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.08506, allocations: 335.1 kB / 420.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.08506, allocations: 3.938 kB / 420.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001101/0.08616, allocations: 0.6683 MB / 421.6 MB, free: 3.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.08618, allocations: 4 kB / 421.6 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.08618, allocations: 4 kB / 421.6 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.08754, allocations: 0.5226 MB / 422.1 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.08765, allocations: 35.97 kB / 422.1 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008957/0.08854, allocations: 1.176 MB / 423.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.08872, allocations: 15.94 kB / 423.3 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.08876, allocations: 26.91 kB / 423.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002128/0.08897, allocations: 250.8 kB / 423.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001851/0.08916, allocations: 268.4 kB / 423.8 MB, free: 1.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003068/0.08947, allocations: 328.7 kB / 424.2 MB, free: 1.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.08947, allocations: 7.938 kB / 424.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001617/0.09108, allocations: 0.6098 MB / 424.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.0911, allocations: 10.75 kB / 424.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.0911, allocations: 4 kB / 424.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000921/0.09202, allocations: 460.8 kB / 425.2 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.09213, allocations: 39.92 kB / 425.3 MB, free: 0 / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.09336, allocations: 1.154 MB / 426.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.09352, allocations: 15.98 kB / 426.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.09356, allocations: 19.98 kB / 426.5 MB, free: 14.79 MB / 346.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 (Mixer1.fluidState.phase,PressDrop1.state.phase,Header1.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.0001616/0.09372, allocations: 284 kB / 426.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.09382, allocations: 51.7 kB / 426.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.09576, allocations: 1.621 MB / 428.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.09578, allocations: 7.984 kB / 428.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.09578, allocations: 7.938 kB / 428.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.09578, allocations: 4 kB / 428.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.09842, allocations: 2.481 MB / 430.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.09843, allocations: 4 kB / 430.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.09879, allocations: 71.94 kB / 431 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.1, allocations: 306.7 kB / 431.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.1001, allocations: 8 kB / 431.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.1023, allocations: 3.588 MB / 434.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1023, allocations: 192 / 434.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.1045, allocations: 2.133 MB / 437 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.1046, allocations: 47.55 kB / 437.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.1046, allocations: 8 kB / 437.1 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1048, allocations: 24.06 kB / 437.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.1049, allocations: 27.94 kB / 437.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.1049, allocations: 11.98 kB / 437.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1051, allocations: 227 kB / 437.4 MB, free: 3.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1051, allocations: 0 / 437.4 MB, free: 3.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002358/0.1074, allocations: 0.9595 MB / 438.3 MB, free: 2.594 MB / 346.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.003359/0.1108, allocations: 1.091 MB / 439.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.1123, allocations: 0.6387 MB / 440.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1123, allocations: 8.062 kB / 440.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008957/0.1132, allocations: 415.8 kB / 440.5 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008525/0.114, allocations: 210 kB / 440.7 MB, free: 212 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1159, allocations: 1.081 MB / 441.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.116, allocations: 126.8 kB / 441.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.1162, allocations: 89.61 kB / 442 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.1165, allocations: 194.1 kB / 442.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1165, allocations: 4 kB / 442.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Templates: time 0.05457/0.1711, allocations: 45.77 MB / 487.9 MB, free: 0.8477 MB / 394.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: 5.10207932908088]