Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.001374/0.001374, allocations: 78.33 kB / 21.28 MB, free: 0.5273 MB / 14.72 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.001451/0.001451, allocations: 160 kB / 24.55 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 177.2 MB / 204.9 MB, free: 9.27 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1366/0.1366, allocations: 19.7 MB / 281 MB, free: 13.05 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 67.89 kB / 417.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2647, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003361/0.2681, allocations: 2.015 MB / 480.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2693, allocations: 0.5602 MB / 480.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2694, allocations: 6.406 kB / 480.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.2695, allocations: 24.97 kB / 480.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.2697, allocations: 71.22 kB / 480.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.2699, allocations: 38.55 kB / 480.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.2701, allocations: 218.1 kB / 481 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2703, allocations: 27.34 kB / 481 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.2705, allocations: 132.8 kB / 481.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.2707, allocations: 78 kB / 481.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.2707, allocations: 11.47 kB / 481.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.375e-05/0.2708, allocations: 14.56 kB / 481.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.2708, allocations: 32.33 kB / 481.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.716e-05/0.2709, allocations: 74.52 kB / 481.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.2711, allocations: 166.1 kB / 481.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2712, allocations: 0 / 481.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2712, allocations: 3.938 kB / 481.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2712, allocations: 4 kB / 481.5 MB, free: 12.96 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008032/0.272, allocations: 433.5 kB / 481.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.272, allocations: 9.094 kB / 481.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2721, allocations: 23.45 kB / 482 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.2725, allocations: 181.8 kB / 482.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.2725, allocations: 12.91 kB / 482.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.2725, allocations: 12.84 kB / 482.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.2728, allocations: 142.2 kB / 482.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2728, allocations: 1.219 kB / 482.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2728, allocations: 5.344 kB / 482.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2728, allocations: 2.781 kB / 482.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.273, allocations: 78.47 kB / 482.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.2738, allocations: 437.5 kB / 482.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.2741, allocations: 103.8 kB / 482.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2742, allocations: 41.56 kB / 483 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.2742, allocations: 1.031 kB / 483 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2742, allocations: 36.77 kB / 483 MB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.2742, allocations: 0 / 483 MB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008317/0.2751, allocations: 374.4 kB / 483.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.2751, allocations: 52.97 kB / 483.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.2753, allocations: 213.5 kB / 483.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2754, allocations: 25.7 kB / 483.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2755, allocations: 133.2 kB / 483.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.2755, allocations: 44.8 kB / 483.8 MB, free: 11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.2756, allocations: 32.27 kB / 483.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2757, allocations: 327.7 kB / 484.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.2758, allocations: 28.27 kB / 484.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.787e-05/0.2759, allocations: 57.36 kB / 484.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.2761, allocations: 100.6 kB / 484.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2761, allocations: 0 / 484.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000284/0.2764, allocations: 144 kB / 484.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2764, allocations: 4.469 kB / 484.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2764, allocations: 1.5 kB / 484.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2764, allocations: 5.312 kB / 484.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.2766, allocations: 31.3 kB / 484.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2766, allocations: 2.906 kB / 484.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.2767, allocations: 13.94 kB / 484.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.2767, allocations: 3.656 kB / 484.6 MB, free: 10.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0001197/0.2768, allocations: 129.2 kB / 484.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.2769, allocations: 23.83 kB / 484.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.2769, allocations: 21.19 kB / 484.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2769, allocations: 0.7812 kB / 484.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2769, allocations: 0 / 484.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.277, allocations: 21.92 kB / 484.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.277, allocations: 10.3 kB / 484.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.2772, allocations: 9.219 kB / 484.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.2772, allocations: 15 kB / 484.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004631/0.2777, allocations: 213.3 kB / 485 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000437/0.2781, allocations: 341.2 kB / 485.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.057e-05/0.2782, allocations: 34.44 kB / 485.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.2783, allocations: 159.1 kB / 485.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of Backend: time 3.7e-07/0.2783, allocations: 0 / 485.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000481/0.2788, allocations: 131.1 kB / 485.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of SimCode: time 0.001177/0.28, allocations: 0.9666 MB / 486.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of Templates: time 0.005599/0.2856, allocations: 1.957 MB / 488.6 MB, free: 7.473 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.539703881018795] Failed to read output from testmodel.py, exit status != 0: 0.2943574970122427 0.309594294 0.035207432000000004 Calling exit ...