Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001675/0.001675, allocations: 78.17 kB / 21.29 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.002002/0.002002, allocations: 159.1 kB / 24.55 MB, free: 3.832 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.475/1.475, allocations: 177.2 MB / 204.9 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 178] 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.1419/0.1419, 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [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.002267/0.002267, allocations: 75.83 kB / 417.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2645, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.00444/0.269, allocations: 2.916 MB / 481 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2705, allocations: 0.799 MB / 481.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.2707, allocations: 8.906 kB / 481.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.2709, allocations: 59.36 kB / 481.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.2713, allocations: 154 kB / 482 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.2716, allocations: 118.8 kB / 482.1 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.2721, allocations: 0.5199 MB / 482.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.2724, allocations: 100.1 kB / 482.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.2728, allocations: 331.7 kB / 483.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.2731, allocations: 197.2 kB / 483.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.2732, allocations: 35.41 kB / 483.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.2733, allocations: 43.34 kB / 483.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2734, allocations: 94.58 kB / 483.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.2736, allocations: 191.4 kB / 483.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.2741, allocations: 440.6 kB / 484 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2741, allocations: 4.781 kB / 484 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2741, allocations: 0 / 484 MB, free: 11.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.2741, allocations: 7.938 kB / 484.1 MB, free: 11.14 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001491/0.2756, allocations: 0.736 MB / 484.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2757, allocations: 8.281 kB / 484.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.2758, allocations: 55.48 kB / 484.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.2763, allocations: 304.1 kB / 485.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.2764, allocations: 26.44 kB / 485.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.348e-05/0.2764, allocations: 43.75 kB / 485.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.277, allocations: 319 kB / 485.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.277, allocations: 5.062 kB / 485.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.2771, allocations: 15.47 kB / 485.5 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.2771, allocations: 7.781 kB / 485.6 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.2775, allocations: 207.3 kB / 485.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.2794, allocations: 0.967 MB / 486.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.2799, allocations: 249.8 kB / 487 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.2801, allocations: 117.7 kB / 487.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.2802, allocations: 12.02 kB / 487.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2802, allocations: 36.41 kB / 487.1 MB, free: 8.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.2802, allocations: 4.594 kB / 487.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.00228/0.2825, allocations: 0.8678 MB / 488 MB, free: 8.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.2825, allocations: 59.41 kB / 488.1 MB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.283, allocations: 373.6 kB / 488.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.283, allocations: 29.7 kB / 488.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.2832, allocations: 224.9 kB / 488.7 MB, free: 7.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2833, allocations: 135.2 kB / 488.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.2834, allocations: 74.16 kB / 488.9 MB, free: 7.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.2836, allocations: 354.7 kB / 489.2 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2838, allocations: 92.97 kB / 489.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.2841, allocations: 145.2 kB / 489.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.2845, allocations: 264 kB / 489.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2845, allocations: 0 / 489.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005986/0.2851, allocations: 341.2 kB / 490 MB, free: 6.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2851, allocations: 8 kB / 490.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2852, allocations: 0 / 490.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.2852, allocations: 12.06 kB / 490.1 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.286, allocations: 147.8 kB / 490.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.2872, allocations: 1.311 MB / 491.5 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.2875, allocations: 20.2 kB / 491.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.2875, allocations: 12 kB / 491.6 MB, free: 4.426 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.2877, allocations: 154.4 kB / 491.7 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.2878, allocations: 43.72 kB / 491.7 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.2884, allocations: 325.5 kB / 492.1 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2884, allocations: 0 / 492.1 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2884, allocations: 0 / 492.1 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.2885, allocations: 63.67 kB / 492.1 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.2886, allocations: 8 kB / 492.1 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2888, allocations: 11.98 kB / 492.1 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.2889, allocations: 23.95 kB / 492.2 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001212/0.2901, allocations: 441 kB / 492.6 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000878/0.291, allocations: 0.6085 MB / 493.2 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002188/0.2912, allocations: 111.8 kB / 493.3 MB, free: 2.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003126/0.2915, allocations: 259.2 kB / 493.6 MB, free: 2.359 MB / 382.1 MB Notification: Performance of Backend: time 4.71e-07/0.2915, allocations: 0 / 493.6 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009121/0.2924, allocations: 273.1 kB / 493.8 MB, free: 2.086 MB / 382.1 MB Notification: Performance of SimCode: time 0.002099/0.2945, allocations: 1.536 MB / 495.4 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of Templates: time 0.01114/0.3057, allocations: 5.236 MB / 0.4889 GB, free: 11.33 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.802774243056774] Failed to read output from testmodel.py, exit status != 0: 0.3142271700780839 0.329206191 0.051914803 Calling exit ...