Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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.001294/0.001294, 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.00138/0.00138, allocations: 165 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.8239/0.8239, allocations: 158.6 MB / 186.4 MB, free: 2.918 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.1584/0.1584, allocations: 36.34 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.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.456e-05, allocations: 6.312 kB / 353.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.02644/0.02646, allocations: 41.06 MB / 394.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008123/0.03458, allocations: 8.522 MB / 403.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000409/0.03499, allocations: 31.69 kB / 403.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.03557, allocations: 301.6 kB / 403.7 MB, free: 1.324 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00071/0.03628, allocations: 0.6555 MB / 404.4 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008999/0.04528, allocations: 5.276 MB / 409.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.04666, allocations: 1.871 MB / 411.5 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006408/0.0473, allocations: 0.5833 MB / 412.1 MB, free: 8.887 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008379/0.04814, allocations: 0.9353 MB / 413.1 MB, free: 7.949 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.04865, allocations: 0.5998 MB / 413.7 MB, free: 7.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.36e-05/0.04874, allocations: 84 kB / 413.7 MB, free: 7.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006477/0.05521, allocations: 5.802 MB / 419.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.05533, allocations: 199.2 kB / 419.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.05557, allocations: 347.2 kB / 420.1 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.06019, allocations: 4.809 MB / 424.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.06019, allocations: 4 kB / 424.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.0602, allocations: 0 / 424.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.0602, allocations: 4 kB / 424.9 MB, free: 12.09 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002192/0.0624, allocations: 1.77 MB / 426.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.06243, allocations: 12.03 kB / 426.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.06273, allocations: 204.1 kB / 426.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.0632, allocations: 494.7 kB / 427.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.06324, allocations: 53.69 kB / 427.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.0633, allocations: 68.38 kB / 427.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.06433, allocations: 0.8388 MB / 428.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.06435, allocations: 0 / 428.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.06439, allocations: 28 kB / 428.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.06441, allocations: 16 kB / 428.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.06527, allocations: 399.4 kB / 428.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.06725, allocations: 3.171 MB / 431.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.06793, allocations: 450.2 kB / 432.4 MB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.0681, allocations: 127.6 kB / 432.5 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.149/0.2171, allocations: 16.81 MB / 449.3 MB, free: 70.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006112/0.2177, allocations: 400.4 kB / 449.7 MB, free: 70.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.2177, allocations: 0 / 449.7 MB, free: 70.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001092/0.2188, allocations: 0.678 MB / 450.4 MB, free: 70.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.2188, allocations: 88.38 kB / 450.4 MB, free: 70.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.2191, allocations: 479.4 kB / 450.9 MB, free: 70.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.2191, allocations: 36.14 kB / 450.9 MB, free: 70.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.2192, allocations: 416.6 kB / 451.4 MB, free: 70.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.2193, allocations: 151 kB / 451.5 MB, free: 70.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2194, allocations: 98.27 kB / 451.6 MB, free: 70.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.2195, allocations: 0.5358 MB / 452.1 MB, free: 69.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.2196, allocations: 211.7 kB / 452.3 MB, free: 69.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.2198, allocations: 301.2 kB / 452.6 MB, free: 69.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.2201, allocations: 376.5 kB / 453 MB, free: 68.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2201, allocations: 0 / 453 MB, free: 68.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004992/0.2206, allocations: 0.6376 MB / 453.6 MB, free: 68.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.2206, allocations: 118.4 kB / 453.8 MB, free: 68.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2207, allocations: 4 kB / 453.8 MB, free: 68.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2207, allocations: 4 kB / 453.8 MB, free: 68.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.2209, allocations: 118.4 kB / 453.9 MB, free: 68.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.221, allocations: 7.656 kB / 453.9 MB, free: 68.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.2212, allocations: 62.75 kB / 453.9 MB, free: 68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.2212, allocations: 23.55 kB / 454 MB, free: 67.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001965/0.2214, allocations: 331 kB / 454.3 MB, free: 67.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001534/0.2215, allocations: 320 kB / 454.6 MB, free: 67.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002383/0.2218, allocations: 402.9 kB / 455 MB, free: 66.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.2218, allocations: 4 kB / 455 MB, free: 66.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004135/0.2222, allocations: 0.6186 MB / 455.6 MB, free: 66.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2222, allocations: 118.2 kB / 455.7 MB, free: 66.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.2222, allocations: 4 kB / 455.7 MB, free: 66.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/0.2222, allocations: 4 kB / 455.7 MB, free: 66.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2224, allocations: 117.6 kB / 455.9 MB, free: 66.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2224, allocations: 8 kB / 455.9 MB, free: 66.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.2226, allocations: 66.39 kB / 455.9 MB, free: 66.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.2226, allocations: 25.86 kB / 456 MB, free: 66.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 (Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition3,$whenCondition4,Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition1,$whenCondition2,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/0.2227, allocations: 308.4 kB / 456.3 MB, free: 65.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.2228, allocations: 78.05 kB / 456.3 MB, free: 65.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007066/0.2235, allocations: 1.056 MB / 457.4 MB, free: 64.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.2235, allocations: 24.81 kB / 457.4 MB, free: 64.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2235, allocations: 0 / 457.4 MB, free: 64.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2235, allocations: 10.95 kB / 457.4 MB, free: 64.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008346/0.2244, allocations: 1.314 MB / 458.7 MB, free: 63.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2244, allocations: 0 / 458.7 MB, free: 63.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2246, allocations: 82.44 kB / 458.8 MB, free: 63.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2246, allocations: 4 kB / 458.8 MB, free: 63.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.2246, allocations: 11.69 kB / 458.8 MB, free: 63.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2246, allocations: 4 kB / 458.8 MB, free: 63.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2246, allocations: 0 / 458.8 MB, free: 63.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.2251, allocations: 0.8457 MB / 459.7 MB, free: 63.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2252, allocations: 136.7 kB / 459.8 MB, free: 62.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.2253, allocations: 13.59 kB / 459.8 MB, free: 62.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.2254, allocations: 43.14 kB / 459.9 MB, free: 62.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.2256, allocations: 85.31 kB / 460 MB, free: 62.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.2256, allocations: 25.52 kB / 460 MB, free: 62.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.2257, allocations: 315.2 kB / 460.3 MB, free: 62.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2257, allocations: 4 kB / 460.3 MB, free: 62.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001488/0.2272, allocations: 1.146 MB / 461.4 MB, free: 61.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count) * Number of discrete states: 4 (Sine1.count,Sine2.count,Sine4.count,Sine3.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/0.2293, allocations: 1.071 MB / 462.5 MB, free: 60.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006881/0.2299, allocations: 1.173 MB / 463.7 MB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2299, allocations: 256 / 463.7 MB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.2302, allocations: 279.7 kB / 464 MB, free: 59.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.2309, allocations: 287.9 kB / 464.2 MB, free: 58.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.2324, allocations: 1.603 MB / 465.8 MB, free: 57.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.68e-05/0.2325, allocations: 189.6 kB / 466 MB, free: 57.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000341/0.2328, allocations: 388.7 kB / 466.4 MB, free: 56.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.233, allocations: 63.92 kB / 466.5 MB, free: 56.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.233, allocations: 0 / 466.5 MB, free: 56.73 MB / 362.7 MB Notification: Performance of Templates: time 0.03339/0.2664, allocations: 46.77 MB / 0.5012 GB, free: 10.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.009724496863782]