Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.0007793/0.0007793, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00327/0.00327, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8165/0.8165, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.1946/0.1946, allocations: 36.35 MB / 275.1 MB, free: 10.89 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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 415.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.082e-05, allocations: 6.281 kB / 415.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.2439/0.2439, allocations: 99.9 MB / 0.5034 GB, free: 9.195 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009869/0.2538, allocations: 10.45 MB / 0.5136 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000467/0.2543, allocations: 27.75 kB / 0.5137 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.2555, allocations: 0.5547 MB / 0.5142 GB, free: 14.12 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008861/0.2564, allocations: 0.7021 MB / 0.5149 GB, free: 13.42 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01156/0.2679, allocations: 5.755 MB / 0.5205 GB, free: 7.648 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.2695, allocations: 1.933 MB / 0.5224 GB, free: 5.707 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006698/0.2702, allocations: 0.5717 MB / 0.523 GB, free: 5.121 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.2711, allocations: 0.9934 MB / 0.5239 GB, free: 4.125 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/0.2716, allocations: 0.6075 MB / 0.5245 GB, free: 3.516 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.2717, allocations: 80 kB / 0.5246 GB, free: 3.438 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007016/0.2787, allocations: 6.149 MB / 0.5306 GB, free: 13.28 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2788, allocations: 195.2 kB / 0.5308 GB, free: 13.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.279, allocations: 351.2 kB / 0.5311 GB, free: 12.75 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005778/0.2848, allocations: 5.433 MB / 0.5364 GB, free: 7.301 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2848, allocations: 0 / 0.5364 GB, free: 7.301 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2848, allocations: 0 / 0.5364 GB, free: 7.301 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.2848, allocations: 0 / 0.5364 GB, free: 7.301 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002659/0.2875, allocations: 1.822 MB / 0.5382 GB, free: 5.414 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.2875, allocations: 8.031 kB / 0.5382 GB, free: 5.406 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.2877, allocations: 128.3 kB / 0.5383 GB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.2883, allocations: 483.9 kB / 0.5388 GB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.2883, allocations: 50.38 kB / 0.5388 GB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.2884, allocations: 68.38 kB / 0.5389 GB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.2897, allocations: 1.007 MB / 0.5399 GB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2897, allocations: 4.312 kB / 0.5399 GB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.2898, allocations: 31.94 kB / 0.5399 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2898, allocations: 16 kB / 0.5399 GB, free: 3.547 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.2911, allocations: 0.7972 MB / 0.5407 GB, free: 2.746 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.2935, allocations: 2.955 MB / 0.5436 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.2947, allocations: 0.684 MB / 0.5443 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.2952, allocations: 269.5 kB / 0.5445 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02636/0.3215, allocations: 16.81 MB / 0.561 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009221/0.3224, allocations: 0.5371 MB / 0.5615 GB, free: 13.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 1.994e-06/0.3224, allocations: 0 / 0.5615 GB, free: 13.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=42): time 0.001976/0.3244, allocations: 1.059 MB / 0.5625 GB, free: 12.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3245, allocations: 89.09 kB / 0.5626 GB, free: 12.15 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.3248, allocations: 454.8 kB / 0.563 GB, free: 11.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.3248, allocations: 37.7 kB / 0.5631 GB, free: 11.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.325, allocations: 388.5 kB / 0.5634 GB, free: 11.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.323e-05/0.3251, allocations: 142.8 kB / 0.5636 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3252, allocations: 102.2 kB / 0.5637 GB, free: 11.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3254, allocations: 362.8 kB / 0.564 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.3259, allocations: 381.4 kB / 0.5644 GB, free: 10.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/0.3264, allocations: 477.8 kB / 0.5648 GB, free: 9.727 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/0.3274, allocations: 0.6916 MB / 0.5655 GB, free: 8.973 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3274, allocations: 4 kB / 0.5655 GB, free: 8.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001206/0.3286, allocations: 0.9476 MB / 0.5664 GB, free: 7.965 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.3287, allocations: 126.8 kB / 0.5666 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3287, allocations: 0 / 0.5666 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3287, allocations: 11.98 kB / 0.5666 GB, free: 7.805 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.329, allocations: 135.8 kB / 0.5667 GB, free: 7.672 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.329, allocations: 7.938 kB / 0.5667 GB, free: 7.664 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.3293, allocations: 111.6 kB / 0.5668 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.3294, allocations: 23.98 kB / 0.5668 GB, free: 7.531 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005626/0.3299, allocations: 487.7 kB / 0.5673 GB, free: 7.027 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004966/0.3304, allocations: 455.6 kB / 0.5677 GB, free: 6.516 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008473/0.3313, allocations: 0.67 MB / 0.5684 GB, free: 5.777 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.3313, allocations: 0 / 0.5684 GB, free: 5.777 MB / 474.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001062/0.3323, allocations: 0.9171 MB / 0.5693 GB, free: 4.805 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.3324, allocations: 114.8 kB / 0.5694 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.3324, allocations: 4 kB / 0.5694 GB, free: 4.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/0.3324, allocations: 4 kB / 0.5694 GB, free: 4.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.3327, allocations: 136.1 kB / 0.5695 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3327, allocations: 11.94 kB / 0.5695 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.3329, allocations: 91.69 kB / 0.5696 GB, free: 4.426 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.3329, allocations: 23.98 kB / 0.5697 GB, free: 4.402 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 (Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition3,$whenCondition4,Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition1,$whenCondition2,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * 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 0.000139/0.3331, allocations: 222.1 kB / 0.5699 GB, free: 4.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.3331, allocations: 63.62 kB / 0.5699 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.3348, allocations: 1.906 MB / 0.5718 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.3349, allocations: 23.95 kB / 0.5718 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3349, allocations: 0.875 kB / 0.5718 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3349, allocations: 4 kB / 0.5718 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.3364, allocations: 1.827 MB / 0.5736 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3364, allocations: 0 / 0.5736 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.3366, allocations: 115.8 kB / 0.5737 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3366, allocations: 0 / 0.5737 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.3366, allocations: 12.86 kB / 0.5737 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3366, allocations: 4 kB / 0.5737 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3367, allocations: 3.938 kB / 0.5737 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.3379, allocations: 1.2 MB / 0.5749 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3381, allocations: 131 kB / 0.575 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.3381, allocations: 15.98 kB / 0.575 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.3384, allocations: 83.39 kB / 0.5751 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.3385, allocations: 79.88 kB / 0.5752 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.3386, allocations: 16 kB / 0.5752 GB, free: 14.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.3388, allocations: 306.9 kB / 0.5755 GB, free: 14.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3388, allocations: 0 / 0.5755 GB, free: 14.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002467/0.3412, allocations: 1.162 MB / 0.5766 GB, free: 13.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count) * Number of discrete states: 4 (Sine3.count,Sine4.count,Sine2.count,Sine1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 34 * 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.0023/0.3435, allocations: 1.102 MB / 0.5777 GB, free: 12.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.3454, allocations: 1.735 MB / 0.5794 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3454, allocations: 0 / 0.5794 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006185/0.346, allocations: 493.5 kB / 0.5799 GB, free: 9.699 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.3468, allocations: 255.9 kB / 0.5801 GB, free: 9.449 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.3486, allocations: 1.754 MB / 0.5818 GB, free: 7.648 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.3488, allocations: 427.1 kB / 0.5823 GB, free: 7.199 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.349, allocations: 56.5 kB / 0.5823 GB, free: 7.145 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.349, allocations: 0 / 0.5823 GB, free: 7.145 MB / 490.7 MB Notification: Performance of Templates: time 0.02216/0.3711, allocations: 24.84 MB / 0.6066 GB, free: 14.27 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.534622503444552] Failed to read output from testmodel.py, exit status != 0: 0.37718694284558296 0.38501134099999995 0.09840607100000001 Calling exit ...